Socialist Pedro Sanchez has become Spain’s Prime Minister after Rajoy voted out in no-confidence motion.Spanish Prime Minister Mariano Rajoy was forced out of office by a no-confidence vote in the Parliament.

Socialist Leader Pedro Sánchez filed the motion after Rajoy’s Party was implicated in a corruption scandal.Rajoy is the first Prime Minister in Modern Spanish history to be defeated in a no-confidence motion.

The leader of the conservative people’s party has been Prime Minister since 2011.During the second day of debate, Rajoy admitted facing defeat and told MPS that it has been “an Honour to leave a better Spain than he found”.

Sánchez secured a majority in the vote after gaining support from various smaller parties, including the Basque Nationalist Party – 180 Mps backed the Motion, 169 voted against, with one abstention.