however, the collapse of prosperity 1929 that brought down the regime: the fundamental failure was a political failure." Primo de Rivera failed to establish political legitimacy for his rule. The 1876 constitution was suspended when he came to power, and the new constitution created by the National Assembly was rejected by the monarchists, liberals, and republicans. The army also had grievances with Primo de Rivera and his dictatorship. These complaints mainly came from members of Spain's artillery corps, whom Primo de Rivera suspended in 1926. As the king saw Primo de Rivera lose support among the army, he could no longer support Primo de Rivera's dictatorship, and Primo de Rivera resigned on 28 January 1930, ending his dictatorship. Legacy Following Primo de Rivera's resignation, the king appointed General Damaso Berenguer as the new Prime Minister of Spain. Berenguer prepared to return to the parliamentary monarchy that existed before Primo de Rivera's dictatorship. This plan was opposed by republicans, socialists, and people like Niceto Alcalá‐Zamora, who no longer supported Alfonso XIII or the monarchy. In Spain's next elections in 1931, republicans and their coalition (including the communists and socialists) won a majority of city council seats over monarchists in urban centres and provincial capitals. These results demonstrated how the public no longer favoured King Alfonso XIII. He resigned after the election, and Spain's Second Republic was established on the 14 or 15 of April 1931. See also European interwar dictatorships Restoration (Spain) Notes References Bibliography * External links "Primo de Rivera (1923–30) and the Second Republic (1931–36)" at Encyclopædia Britannica Military dictatorships 20th century in Spain