Spain: The rise and fall of Mariano Rajoy

Succession in Catalonia and unpopular austerity measures were not enough to bring down the Spanish prime minister, but a corruption scandal has dragged the political survivor from office.

Spanish Prime Minister Mariano Rajoy has been deposed in a vote of no-confidence.

Opposition Socialist Party leader Pedro Sanchez has taken over as the new prime minister.

Rajoy’s party has been struggling to restore trust after a court ruled it profited from an illegal scheme.

Rajoy was prime minister for seven years.

Al Jazeera’s Peter Sharp looks at his political rise and fall.