After a raucous several days in parliament, Spain, much to the surprise of the Spanish Socialist Workers’ Party, is now helmed by its leader Pedro Sánchez.

After People’s Party Prime Minister Mariano Rajoy received a vote of no-confidence early Friday, and parliament turned instead to PSOE, the Spanish acronym for the social democratic party, forces on the left and right are still reeling from the shock.