Pedro Sanchez, the Spanish prime minister, has vowed to pull off "an epic comeback" and win Sunday's general election, despite the final polls forecasting his defeat to Spain's Right-wing parties.
The conservative People's Party (PP) and the hard-Right Vox are on course to secure a joint parliamentary majority – and able to form a coalition government – according to all polls but one.
But a narrowing of polls has reduced the chances of the Francoists and conservatives achieving a landslide against the centre-Left, with an outside chance of victory within the margin of error for Sánchez, provided there is a large turnout.
A PP-Vox victory would usher in the most Right-wing Spanish government since the return of democracy after the death of dictator Francisco Franco and the end of his 40-year rule in 1975.
The polls are the last that can be legally released before voters head to the ballot box for a snap election called by Sánchez after defeats over draft legislation to ease a housing crisis.
Sanchez is relying on a high turnout to boost his chances of victory - AFP/JORGE GUERRERO
He had hoped to harness the momentum from mass housing protests to stave off the threat from the hard Right.
But voters appear ready to give Vox its first chance of national government after it formed electoral coalitions with the PP in a number of Spanish regions.
Sánchez said on Tuesday the general election would see "historic turnout and an epic comeback".
"This is the sixth election in which I have run as a candidate for prime minister and I have never seen the level of mobilisation that I am witnessing in this election," he told national radio.
Sánchez, who has been prime minister for eight years, has a well-deserved reputation as a political escape artist. Polls also predicted a PP-Vox majority when he called snap elections in July 2023.
PP won the popular vote, but Vox underperformed, allowing Sánchez to assemble a broad coalition of eight parties, including communists and separatists, to stay in power.
Last week, he received Luiz Inácio Lula da Silva in Madrid, just days after the Brazilian president's unexpected comeback win in the second round of elections against Flávio Bolsonaro, the Right-wing candidate.
The visit included meetings between Sánchez's advisers and the social media campaign team Lula credited with his surprise victory.
"What happened in Brazil will happen in Spain," Sánchez said.
The fact that his Socialists are closing the gap on the Right in the final polls will give his supporters hope that he may once again pull off a surprise triumph.
The campaign has been dominated by housing, a corruption scandal engulfing Mr Sánchez's Socialists, and train safety after a deadly crash last month.
However, a major theme has been immigration after Sánchez was responsible for the largest amnesty of migrant workers in European history last June.
Almost 1.2 million unregistered workers applied for the residency rights offered by the amnesty. Mr Sanchez defended the move by arguing it would increase tax receipts.
Santiago Abascal, the leader of Vox, and Alberto Núñez Feijóo, the PP boss and probable next prime minister, blamed the amnesty for creating a pull factor that led to the Ceuta border crisis.
Up to 80,000 people crossed from Morocco into the Spanish North African exclave, with many swimming or scaling border fences. Spanish authorities counted 88 dead from drowning during the influx, with dozens more retrieved by Moroccan authorities.
Iván Redondo, a political consultant who was Sánchez's head of office between 2018 and 2021, said a victory for the prime minister's Socialists was still a significant possibility, despite the polls.
But he warned that the prime minister's chances were being harmed by the underperformance of the Left-wing junior coalition partner, Frente Amplio, leaving the Right-wing bloc more likely to form a government.
"On election night there could be two winners, Abascal and Sánchez, but Feijóo becomes prime minister," he said.
Polling suggests voters are highly mobilised, and turnout is expected to be higher than the 66.5 per cent registered in 2023.
"Except once in 1996, when turnout was higher than 70 per cent, the Left ends up in government," Mr Redondo said.
But Pablo Simón, a political analyst and professor of social sciences at Madrid's Carlos III University, did not believe high turnout would necessarily benefit Sánchez.
"A turnout of around 75 per cent means the race will be close," he said. "But if we look at the undecided, people who usually stay away, they are splitting two-to-one Right to Left, meaning Vox and the PP will also gain votes."
All surveys but one put the projected combined seats for the PP and Vox above the absolute majority threshold of 176 seats in the 350-seat house.
A daily survey by pollster 40dB for El País, based on 7,500 interviews, gave the PP 127-136 seats (31.8 per cent), closely followed by the Socialists on 116-127 seats (30.9 per cent), with Vox on 51-61 seats (17.3 per cent).
NC Report for La Razón, based on 1,000 interviews, put the Socialists at 27.2 per cent with 108-111 seats, with the PP on 130-133 seats and Vox on 64-66 seats, for a combined total of at least 194.
State-run pollster Centro de Investigaciones Sociológicas (CIS) remained a major outlier, projecting that the combined left, including far-Left Frente Amplio and regional parties, could still prevail.
Based on 8,034 interviews, its survey put the Socialists on 34.4 per cent, far ahead of the PP on 24 per cent and Vox on 15.6 per cent.
Try full access to The Telegraph free today. Unlock their award-winning website and essential news app, plus useful tools and expert guides for your money, health and holidays.