Who was trapped in the strike and an armed uprising by Catalan seperatists ?
Advocating socialism and Catalan independence , the party achieved a spectacular victory in the municipal elections of April 12 , 1931 , which preceded the April 14 proclamation of the Second Spanish Republic .