Final answer:
Surrealism was most closely influenced by Cubism.
Step-by-step explanation:
Surrealism was most closely influenced by Cubism. Salvador Dalí, one of the prominent surrealist artists, initially experimented with Cubism before forming his version of Surrealism. Cubism, an avant-garde art movement, involved analyzing, breaking up, and reassembling objects in an abstracted form, which aligns with the unexpected juxtapositions and non-sequiturs often found in Surrealist works.