The dictator fell in 1929 , and when the elections of 1931 revealed massive anti-royalist feeling in Spain 's cities , the king followed him into exile .
Spain held elections in 1931 which exposed significant anti-royalist sentiment .