Spain's prime minister Pedro Sanchez has called a snap election for next month.
The decision comes days after tens of thousands of people took to the streets in protest at the country's housing crisis in the wake of the forcible eviction of an 87-year-old woman.
The vote will be held on 29 November, and Mr Sanchez, 54, made the announcement during a televised national address.
He argued that a broader progressive coalition would enable the country tackle some of its biggest challenges.
Mr Sanchez said: "The time has come, therefore, for the Spanish people to decide what future you want for yourselves and for your country."
He also acknowledged making mistakes and failing to meet campaign promises, adding: "I also know that part of that social majority is dissatisfied today."
Mr Sanchez's Socialist Party is trailing in the opinion polls, so facing the electorate now could be a risky move.
A coalition led by the conservative People's Party (PP) with the support of the far-right Vox is currently the most likely outcome in Spain, according to the polls.
This would mean a far-right party in the country's government for the first time since the return of democracy after the death of dictator Francisco Franco.
The recent demonstrations followed the failure of the government to pass emergency legislation to help renters.
Mr Sanchez's proposals to tackle a mounting housing crisis were well received but were struck down by right-wing MPs on Friday.
In Valencia on Saturday, demonstrators clashed with police, who fired rubber bullets and tear gas.
Other protests in 50 Spanish cities were peaceful.
Maricarmen Abascal was removed from her home in Madrid last month after being given just 30 minutes to leave the property. The 87-year-old was taken to hospital on a stretcher following her eviction.
The apartment, in the capital's affluent Retiro neighbourhood, had been acquired by an investment fund that wanted to sharply increase her rent.
UrbaGestion, the fund that owns the apartment, offered her a preliminary agreement on 28 October, that would allow her to return home if she agrees to the terms.
"She should never have been forced to leave," her lawyer Beatriz Duro told reporters.
"I hope this case serves to provide a collective response to the housing crisis."
More from Sky News:
US removes all Air Force bombers from RAF Fairford
Zack Polanski barred from entering Israel
Mr Sanchez has been prime minister of the country since 2018, making him one of Europe's longest-serving leaders.
His leadership has also been rocked by a series of legal cases involving his party, as well as his brother and wife, who both deny wrongdoing.
The government has also had to respond to border crossings by tens of thousands of migrants - mostly Moroccans - into Spain's North African territory of Ceuta.
Mr Sanchez has led a coalition minority government with the left-wing Sumar party since 2023.
(c) Sky News 2026: Spanish PM calls snap election
US removes all Air Force bombers from RAF Fairford after suspected terror plot
Hearing to take place after Andrew Mountbatten-Windsor takes legal action against police over arrest
UK unprepared for food emergencies and threats to supplies, experts warn
Whisky to be aged in space for first time in university satellite project