 The municipal elections of 12 April 1931 were largely seen as plebiscite on the monarchy.The Republican-Socialist alliance failed to win the majority of the municipality cities in Spain but had a landslide victory in all large cities and in almost all provincial capitals.The monarchists and the army deserted Alfonso XIII and the King decided to leave the country into exile, giving way to the Second Spanish Republic.