The Spanish Civil War began in 1936 when General Francisco Franco led a military coup against the Spanish Republic. Spain was divided between Franco's Nationalists and the Republicans who supported the Republic. The Nationalists were victorious in 1939 and Franco established a dictatorship that lasted until his death in 1975. Under Franco there was repression of political opposition and regional cultures. After Franco's death in 1975, King Juan Carlos I oversaw the transition to democracy, appointing Adolfo Suárez to begin political reforms including free elections, legalizing political parties and unions. Spain established a new democratic constitution in 1978.