Spanish Civil War
Dictatorship of Primo de Rivera

In 1923, a military coup brought Miguel Primo de Rivera to power. As a result, Spain transitioned to government by military dictatorship. Support for the Rivera regime gradually faded, and he resigned in January 1930. He was replaced by General Dámaso Berenguer, who was in turn himself replaced by Admiral Juan Bautista Aznar-Cabañas; both men continued a policy of rule by decree.

There was little support for the monarchy in the major cities. Consequently, King Alfonso XIII of Spain relented to popular pressure and called municipal elections for 12 April 1931. Left-wing entities such as the Socialist and Liberal Republicans won almost all the provincial capitals and, following the resignation of Aznar's government, Alfonso XIII fled the country. At this time, the Second Spanish Republic was formed. This republic remained in power until the beginning of the civil war five years later.
startend:end_checker, length_constraints:number_paragraphs[3], detectable_format:title