(DPA)
Prime Minister Pedro Sánchez on Monday announced his resignation as leader of the Spanish Socialist Workers' Party after his defeat in the general election.
Sánchez told reporters in Madrid that he had informed the party leadership of his decision to step down as secretary general. He said he would also give up the parliamentary seat he won on Sunday and step down as president of the Socialist International.
"I am doing this out of consistency and a sense of responsibility toward my country and my organisation," the 54-year-old said.
Sánchez had called the snap election in the hope of securing a left-wing majority in parliament. He said the result had instead delivered a clear majority for the right. "Ignoring it is not an option," he said.
An interim leadership will run the Socialist party until a party congress elects a new leadership.
The Socialists lost five seats in Sunday's parliamentary election, leaving them with 116 in the lower house. The conservative People's Party (PP), led by opposition leader Alberto Núñez Feijóo, emerged as the largest party and plans to form a government with the right-wing populist Vox party.
The PP, its regional ally UPN and Vox together won 186 seats, 10 more than needed for an absolute majority in the Congress of Deputies.