The United States did not invade Spain during World War II in order to minimize the war. Although Spain was an Axis-aligned State in World War II, it remained officially neutral since it could not afford a war after the Spanish Civil War of 1936-1939.