The Spanish Civil War broke out in July 1936 when a group of military officers led by Francisco Franco rose up against Spain's elected Republican government. Germany and Italy quickly began supplying the Nationalist rebels with substantial military support — Italy eventually sent tens of thousands of troops, and Germany's Condor Legion provided aircraft and pilots that were used, among other things, in the infamous bombing of Guernica. The Soviet Union provided military aid to the Republican side, though on a smaller scale and increasingly conditioned on Soviet political influence over the Republican government and military.
Britain and France, despite the Republican government being the internationally recognized, democratically elected government of Spain, adopted a policy of formal non-intervention, organizing an international Non-Intervention Committee that Germany, Italy, and the Soviet Union all nominally joined while continuing to arm their respective sides regardless. British policy in particular was shaped by a mix of fear of the war spreading into a broader European conflict, distrust of the Republican side's association with communism and anarchist movements, and a strategic assessment (which proved largely mistaken) that non-intervention would help contain the conflict. Franco's Nationalists ultimately won in 1939, establishing a dictatorship that would last until Franco's death in 1975, and many historians view the war as, among other things, a dress rehearsal for the broader ideological and military confrontations of the Second World War, with Germany and Italy testing tactics and equipment they would use again within months of Franco's victory.