Fascist Italy and Nazi Germany backed Franco's Nationalists, while the Soviet Union supported the Republicans (although less and less towards the end of the war).
Italy and Germany took sides with Franco and the Soviet Union took sides with the Republicans.