The Spanish Civil War began in 1936 as a military rebellion led by Francisco Franco against the Spanish Republic. Franco and the Nationalists were supported by fascist governments in Germany and Italy and sought to restore traditional Spanish values and the powerful role of the Catholic Church. The war resulted in over 500,000 deaths as both sides received foreign support and weapons. After three years, Franco emerged victorious in 1939 and established a repressive dictatorship, banning opposition and severely restricting civil liberties. Franco ruled until his death in 1975, when King Juan Carlos began democratic reforms and transitioned Spain to a constitutional monarchy with autonomous regional governments.