In a historic shift for Spain's political landscape, left-wing leader Pedro Sanchez has resigned from his position as the head of the Socialist Workers’ Party (PSOE) after suffering an election defeat that marked the return of right-wing leadership to power for the first time in decades. The election, held on a date undisclosed, saw the People's Party (PP), along with the far-right Vox party, emerge victorious and form a coalition government. Sanchez, who has been Spain’s prime minister for eight years, announced his decision to step down from his role in the PSOE on Monday, citing coherence, responsibility, and the party's future as reasons for his departure. The Spanish leader will not take up his Senate seat once a new government is formed, but he will continue serving as acting prime minister until then.

Sanchez’s resignation comes amidst a deepening housing crisis, corruption scandals, and the failure to pass a budget for three consecutive years. Additionally, Spain has been grappling with a national mood that soured further following a tragic train crash last month that claimed at least 69 lives. Sanchez accepted the election results without question or suspicion, and he extended his congratulations to PP leader Alberto Nunez Feijoo upon learning of his victory.

The right-wing leaders across Europe were quick to welcome the election outcome, which marked the ousting of Spain's last left-wing head of government in a major European country. Marine Le Pen, leader of France's far-right National Rally party, hailed the results as evidence of a "patriotic wave" sweeping across Europe, while Alice Weidel, head of the Alternative for Germany, expressed her optimism that similar changes would occur in Germany.

Sanchez’s tenure was marked by advocacy on immigration issues, with Spain welcoming migrants while hardline stances became popular elsewhere in Europe. Although his efforts to speak out against Israel's actions in Gaza met resistance from the EU's anti-immigration hawks, he succeeded in securing support for Palestine and imposing an arms embargo against Israel. These actions earned him praise within the European Union, particularly from countries such as Ireland and Norway that recognized Palestine as a state before France and Britain did.