The Party of European Socialists (PES) on Monday expressed solidarity with Pedro Sanchez and his Spanish Socialist Workers' Party (PSOE) following its defeat in Sunday's general election.
"Eight years of social progress, stronger rights and greater equality — hard-won achievements that have improved millions of lives and must be protected," the PES group in the European Parliament wrote in a post on US social media company X.
The PES said its commitment to defending those achievements, human rights and fundamental freedoms "remains unchanged."
"Our European socialist family stands firmly with PSOE in defense of democracy, peace and international law," it added.
The party also cited remarks by Sanchez who is now acting prime minister following in his post-election speech, "We will fight darkness with the torch of hope."
The Socialists won 116 seats with 28.87% of the vote, losing five seats from 2023 despite receiving about 300,000 more votes. Together, the right-wing People's Party (PP) and far-right Vox secured 184 seats, giving the bloc a parliamentary majority and putting PP leader Alberto Nunez Feijoo in position to form a government after eight years of Socialist-led rule.