
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.