The Spanish Republican government, made up of Socialists, fought a civil war from 1936 to 1939 to retain power against the rebellion of Spanish Nationalist forces led by General Francisco Franco, who refused to accept control by the leftists. This civil war essentially became a war between Fascism and Socialism, and other nations became involved. With Italian and German assistance, Franco defeated the Republicans and set up his own fascist-style military dictatorship.