Czech Prime Minister Petr Necas was forced to quit by a graft and spying scandal involving his closest aide, pitching the European Union member state into a period of uncertainty over who will form the next government.
Under the Czech constitution, the whole government will now have to step down, and there is likely to be horse-trading between the governing coalition, the opposition and the president before a replacement is in place.
Necas quit on Sunday, days after prosecutors charged the head of his office, Jana Nagyova, with bribing members of parliament and ordering intelligence agents to spy on people.
The scandal has a personal element for the prime minister: one of the surveillance targets, according to lawyers involved in the case, was the prime minister's own wife, Radka. The two are filing for divorce.
Necas has said he knew nothing about the surveillance, but the charges were so toxic that his coalition partners signalled they could no longer support him.
"I will resign as prime minister tomorrow," Necas told a news conference after meetings with his Civic Democratic party and with the leaders of other parties in the governing coalition.
"I am aware fully aware how the twists and turns of my personal life are burdening the Czech political scene and the Civic Democratic Party," he said.
He said his party would try to form a new government, led by a different person, to rule until a scheduled election next year. However, it was unclear if that plan could muster enough support in parliament.
Two decades ago, Czech dissident Vaclav Havel led a "Velvet Revolution" that overthrew Communist rule and turned his country into a beacon of liberty. But in the years since then, the Czech Republic has been mired in corruption.
Necas and his administration will stay on as caretakers until a new government is installed. President Milos Zeman will have an important say in who takes over. If after three attempts there is no viable government, or the parliament agrees to dissolve itself, an early election will be held.