Deputies in the lower house cast 180 votes in favor of the ouster of Mariano Rajoy, with 169 votes against and one abstention

This is the first time in Spanish democratic history that a head of government has been ousted. Rajoy, 63, refused to go ahead of the vote, saying he had the trust of the people who voted for him at the 2016 election.

The irony of Rajoy who uses words like “trust” when he leads one of the most corrupt parties in Europe.

Rajoy will be replaced by Socialist (PSOE) leader Pedro Sánchez, whose 84 seats were insufficient for the majority of 176 required in the 350-seat house. This forced the PSOE to seek support from a range of other parties, including regional nationalists in Catalonia and the Basque Country.

The motion was successful after 180 deputies voted to unseat Rajoy.

The no-confidence motion was filed by the main opposition Socialist Party (PSOE) last week in the wake of a court ruling in a sweeping corruption scheme known as Gürtel. Rajoy’s Popular Party (PP) was fined for having benefited from the kickbacks-for-contracts network.