By Adam Easton
BBC correspondent in Warsaw
Poland's presidential election has confirmed a swing to the right.
Poland has swung to the right, but voter turnout was low
Whoever wins in the second round in two weeks' time, Poland will have a right-wing president and prime minister for the first time in 12 years.
In both the presidential and recent parliamentary elections voters punished the former communists for failing to reduce high unemployment and curb corruption.
With more than 90% of the votes counted, Donald Tusk of the liberal Civic Platform party led with 35.82% and Lech Kaczynski of the conservative Law and Justice Party trailed slightly with 33.29%.
As none of the 12 candidates managed to win 50% of the ballot, a second round run-off between Mr Tusk and Mr Kaczynski will take place on 23 October.
Both men come from parties that have their roots in the Solidarity movement which helped topple communism in Poland in 1989.
And both agree that previous governments were incompetent and corruption is widespread.
But they offer different solutions and Poland is in for two weeks of intense debate.
Mr Tusk, 48, wants less state interference and more pro-market reform to promote growth and jobs.
Mr Tusk thinks a liberal approach is the way forward for Poland
A keen football player, the youthful-looking candidate comes from the small ethnic Kashubian community in north-west Poland and he is promising to be a president who will unite people.
"I hope Tusk will win to counterbalance Law and Justice. I support the liberals who will definitely help with small business," Joanna, a language school owner, told me.
"A lot of young people cannot find jobs and if there are some new laws which could help employ people, that would help the economy and make the country grow."
Mr Kaczynski, 56, is promising more radical change. A strident ant-communist, his father fought against the Germans in the World War II resistance.
He wants Poland to become a new Fourth Republic based on Catholic and family values.
Such a republic would represent a symbolic end to post-communist influence in Poland of the Third Republic, which was created when the communists and Solidarity opposition movement negotiated the end of the communist regime in 1989.
He is in favour of preserving the welfare state, and says Mr Tusk's liberalism will hurt the poor in a country which has the highest unemployment in the European Union.
Mr Kaczynski wants a "Fourth Republic" based on Catholic values
It is a message that has gone down well among people cut adrift by the free market reforms in many small towns and rural areas in the poorer eastern parts of Poland.
"After the tough changes we went through in the beginning of the 90s, people react allergically to the word 'liberal', so that's why social and Christian values are very important to people," Katarzyna, an assistant to a Polish MEP, told me.
With so little between them after the first round, it looks likely to be a close race in the run-off.
But Ewa Milewicz, a columnist for Gazeta Wyborcza, writes that Mr Kaczynski's message may have more to offer people. "Law and Justice are not angling, it's fishing for the voters with huge nets," she writes.
But Mr Kaczynski's chances may be hurt by his identity problem.
An identical twin, his brother Jaroslaw heads the Law and Justice Party. He refused to become their candidate for prime minister to help Lech get elected.
But it is obvious that Jaroslaw is the main power in the party which won the recent parliamentary elections.
Voters may shy away from handing too much power to twins that many here simply cannot tell apart.