Spain’s political parties and other public figures have reacted to Pedro Sánchez’s resignation as leader of the PSOE and president of the Socialist International after the general election. Sánchez also said he would not take up his seat as a deputy for Madrid, calling that decision one of “coherence, responsibility with the country” and his organisation.

PP leader Alberto Núñez Feijóo, who won the election, said the response to Sánchez’s resignation could only be “respect”. “Spain turns the page. Now we should only think about the past so we don’t repeat it. The walls are over,” he wrote on social media.

At the PP headquarters, party spokesperson Borja Sémper, number three on the Madrid list, called the resignation “good news”. “Sánchez is the past,” he said, adding that there was an opportunity to build “a future of hope for Spaniards”, based on unity rather than confrontation, with “a government that governs for everyone and calms politics”.

Shortly before, the PP’s account on X had reposted a tweet Sánchez published on 23 January 2012 that said: “Home, it’s time.” PP figures Ester Muñoz and Alma Ezcurra also commented on the resignation. Muñoz called it “the penalty”, while Ezcurra said “national reconstruction begins”. Valencia mayor María José Catalá (PP) called for “the people who are with him” to resign too, following “the end of Sanchism”.

In Sunday’s election, the Socialists lost five seats and won 116 in the Congress of Deputies. The PP won 132 seats and has an absolute majority with Vox.

Vox leader Santiago Abascal said Sánchez’s resignation “comes too late” and “does not mean impunity”. He said his party was “very happy” to have achieved its main goal: “We have fulfilled our mission, which was to get the mafia out of La Moncloa.” He added that Vox had made this possible with the support of 4.5 million Spaniards.

Abascal said Sánchez’s resignation came “very late”, accusing him of having lied about who he would make agreements with and about amnesty, and of remaining in power while surrounded by corruption. He also accused Sánchez of betraying Spain’s interests in Ceuta, “especially, without a diplomatic response”. Abascal said Spaniards had “turned the page” by voting Sánchez out, but that this “does not mean impunity”. He said Sánchez deserved “a fair trial” and called for responsibility to be taken “for corruption, the deaths of Urda or Adamuz”.

Emilio Delgado, Frente Amplio’s candidate for Madrid, wished Sánchez “all the luck in the world” and said “these have not been easy years for him or his family”. He said the PSOE would have to decide its own direction and that his party offered “all respect”. Delgado was speaking to journalists about Frente Amplio’s election result when Sánchez’s resignation was announced.

Sources in Ada Colau’s party said Sánchez had been president for eight years of a government that advanced rights, but argued that the Socialists had made a mistake by focusing on the PSOE rather than Spain in their election strategy. They said Frente Amplio had a clear role in the next phase and should not “lower its arms”.

Asked about the PNV proposal that the Socialists abstain in an investiture vote for Feijóo to keep Vox out of government, Delgado said it was not for him to decide what the PSOE should do. He promised Frente Amplio would be a “firm” opposition in Congress to the future right-wing government and would not allow people in Spain to “feel fear and shame for who they are”.

Àgueda Micó, a Compromís-Front Valencià deputy for Valencia, called Sánchez’s resignation “normal” and described it as “the end of a cycle”. She said a government of the right and far right was coming, and that the right and far right would now have to answer for their actions: “They will no longer be able to hide behind Sánchez.”

BNG leader Ana Pontón said she respected Sánchez’s “personal decision” and described it as expected after he failed to secure another term following eight years as president. UGT secretary general Pepe Álvarez also said he respected the decision, describing it as consistent with a political career in which the general interest had come first.

PNV EBB secretary Maitane Ipiñazar said Sánchez’s resignation as PSOE secretary general and his decision not to take up his parliamentary seat were “understandable” given the prospect of an absolute majority for the PP and Vox. She said it was “normal” that someone who had been prime minister for eight years might not feel comfortable as a deputy under those circumstances. Ipiñazar also said PSOE abstention was an “option” to prevent the far right from entering the Spanish government.