In a significant political shift, Spain's center-right People's Party (PP) has emerged victorious in the country's parliamentary election on Sunday. The PP is expected to form a government with the hard-right Vox party, potentially marking the first time the far right enters Spain's central government since Francisco Franco's dictatorship.

The snap election was called by Prime Minister Pedro Sanchez in an attempt to secure a stronger mandate, but his Socialist Party finished behind the PP, setting the stage for a possible coalition with Vox. With 99.7% of votes counted, the PP is projected to secure 134 seats, while Vox could win 52. The Socialists are expected to finish with 116 seats, falling short of the majority required for 176 seats.

Sanchez's campaign was marred by corruption controversies surrounding his inner circle and family, as well as criticism over his government's handling of multiple crises, including two deadly train accidents, an increase in migrant arrivals, and a nationwide electricity blackout. The election result comes after parliament blocked several government decrees aimed at tackling Spain's worsening housing crisis, a major concern among voters.

US President Donald Trump celebrated Sanchez's electoral setback, stating that the Socialist leader "deserved to lose" after his party suffered a defeat. Trump and Sanchez have repeatedly clashed over defense commitments, immigration, foreign policy, and most notably, the US-Israeli military campaign against Iran. The relationship between the two leaders had come under further strain in the weeks before the election, with Sanchez openly criticizing Trump.

In a rally last week, Sanchez asked, "What good has Trump brought to the United States and the world?" Their sharpest confrontation came over the US-Israeli military campaign against Iran, with Sanchez refusing to allow American aircraft to use Spanish airspace or refuel in the country. This triggered Trump's threat to sever all trade ties with Spain.

As the election results unfolded, Sanchez acknowledged the result and called People's Party leader Alberto Nunez Feijoo to congratulate him. Although Feijoo did not spell out whether he intended to govern alongside Vox, he congratulated its leader Santiago Abascal on his party's substantial gains. Abascal, in turn, stated that Vox would put national interests ahead of political considerations. The exact nature of the potential coalition between the PP and Vox remains to be seen.