Spanish Prime Minister Pedro Sanchez has resigned from his position as leader of the Socialist Workers’ Party (PSOE) after a historic election that saw right-wing parties gain power in Spain for the first time in decades. The election, held on Sunday, resulted in the People's Party (PP) forming a coalition government with the far-right Vox party. Sanchez announced his resignation on Monday, stating that he was stepping down from his role out of coherence and responsibility to the country and to his organization.

The election defeat marks the end of eight years of governance for Sanchez and his Socialist Party. During this time, Sanchez's government faced several challenges, including a deepening housing crisis, corruption scandals, and failing to pass a budget for three years. The national mood soured further when a train crash killed at least 69 people last month. Despite these difficulties, Sanchez accepted the election results "without suspicion or conspiracy theories" and called PP leader Alberto Nunez Feijoo to congratulate him on his win.

Sanchez will not take up his role in the Senate after a new government is formed, but he will remain acting prime minister until then. In his exit speech, Sanchez expressed hope that the Socialist Party could "rise to its feet once again" and embark on a new beginning. The Spanish leader has been a vocal advocate for immigration, welcoming migrants while hardline stances became the norm across Europe. Sanchez's efforts to speak out against Israel's actions in Gaza were also notable within the EU.

The election results have been welcomed by right-wing leaders around the world, with Marine Le Pen, leader of the French far-right party, and Alice Weidel, head of the Alternative for Germany, expressing optimism about making changes in their respective countries. Sanchez has not yet announced his future plans, but he has stated that from now on, he will be just another party militant.