### Instruction:
Give me a brief summary of the spanish civil war

### Input:
The Spanish Civil War broke out in 1936: on 17 and 18 July, part of the military carried out a coup d'état that triumphed in only part of the country. The situation led to a civil war, in which the territory was divided into two zones: one under the authority of the Republican government, that counted on outside support from the Soviet Union and Mexico (and from International Brigades), and the other controlled by the putschists (the Nationalist or rebel faction), most critically supported by Nazi Germany and Fascist Italy. The Republic was not supported by the Western powers due to the British-led policy of non-intervention. General Francisco Franco was sworn in as the supreme leader of the rebels on 1 October 1936. An uneasy relationship between the Republican government and the grassroots anarchists who had initiated a partial Social revolution also ensued.


Republican volunteers at Teruel, 1936
The civil war was viciously fought and there were many atrocities committed by all sides. The war claimed the lives of over 500,000 people and caused the flight of up to a half-million citizens from the country. On 1 April 1939, five months before the beginning of World War II, the rebel side led by Franco emerged victorious, imposing a dictatorship over the whole country. Thousands of men and women were imprisoned after the civil war in Francoist concentration camps, with approximately 367,000 to 500,000 prisoners being held in 50 camps or prisons.

### Response:
The Spanish Civil War started on the 17th and 18th of July 1936 due to a coup d'etat by the military that divided the country into two zones, one side led by the republican government, the other controlled by the putschists (nationalists). The war claimed 500,000 lives and caused a mass exodus of up to 500,000 more. It ended on the 1st of April 1939 with the nationalists taking control of the country, imposing a dictatorship led by General Franco.