Ukraine entered uncharted political waters on Sunday after an exit poll showed a comedian with no political experience and few detailed policies had easily won enough votes to become the next president of a country at war.
The apparent landslide victory of Volodymyr Zelenskiy, 41, is a bitter blow for incumbent Petro Poroshenko who tried to rally Ukrainians around the flag by casting himself as a bulwark against Russian aggression and a champion of Ukrainian identity.
The national exit poll showed Zelenskiy had won 73 percent of the vote with Poroshenko winning just 25 percent.
If the poll is right, Zelenskiy, who plays a fictitious president in a popular TV series, will now take over the leadership of a country on the frontline of the West's standoff with Russia following Moscow's annexation of Crimea and support for a pro-Russian insurgency in eastern Ukraine.
Declaring victory at his campaign headquarters to emotional supporters, Zelenskiy promised he would not let the Ukrainian people down.
"I'm not yet officially the president, but as a citizen of Ukraine I can say to all countries in the post-Soviet Union look at us. Anything is possible!"
Zelenskiy, whose victory fits a pattern of anti-establishment figures unseating incumbents in Europe and further afield, has promised to end the war in the eastern Donbass region and to root out corruption amid widespread dismay over rising prices and falling living standards.
But he has been coy about exactly how he plans to achieve all that and investors want reassurances that he will accelerate reforms needed to attract foreign investment and keep the country in an International Monetary Fund programme.
"Since there is complete uncertainty about the economic policy of the person who will become president we simply don't know what is going to happen and that worries the financial community," said Serhiy Fursa, an investment banker at Dragon Capital in Kiev.
"We need to see what the first decisions are, the first appointments. We probably won't understand how big these risks are earlier than June. Perhaps nothing will change."
West watching closely
The United States, the European Union and Russia will be closely watching Zelenskiy's foreign policy pronouncements to see if and how he might try to end the war against pro-Russian separatists that has killed some 13,000 people.
Viktor Medvedchuk, the Kremlin's closest ally in Ukraine, last week outlined ways in which Ukraine and Russia could mend ties, though Zelenskiy has given no indication of being open to the prospect.
Grigory Karasin, a Deputy Russian Foreign Minister, said the exit poll showed Ukrainians had voted for change, including in their foreign policy, the RIA news agency reported.
An emotional Poroshenko conceded defeat to his supporters, some of whom were crying. Although he said he accepted the loss, he said he would not be leaving politics and that Zelenskiy would face strong opposition.
Zelenskiy has pledged to keep Ukraine on a pro-Western course, but has sounded less emphatic than Poroshenko about possible plans for the country of 42 million people to one day join the European Union and NATO.
Poroshenko said on social media he thought Zelenskiy's win would spark celebrations in the Kremlin.
"They believe that with a new inexperienced Ukrainian President Ukraine could be quickly returned to Russia's orbit of influence," he wrote.
Critics accuse Zelenskiy of having an unhealthily close working relationship with a powerful oligarch called Ihor Kolomoisky, whose TV channel broadcasts his comedy shows.
Zelenskiy has rejected those accusations.
One of the most important and early tests of that promise will be the fate of PrivatBank, Ukraine's largest lender, which was nationalized in 2016.
The government wrested PrivatBank from Kolomoisky, the bank's co-founder, as part of a banking system clean-up backed by the IMF, which supports Ukraine with a $3.9 billion loan program.
But its fate hangs in the balance after a Kiev court ruled days before the election that the change of PrivatBank's ownership was illegal, delighting Kolomoisky but rocking the Central Bank which said it would appeal.
Zelenskiy has repeatedly denied he would seek to hand PrivatBank back to Kolomoisky if elected or help the businessman win compensation for the ownership change.
The IMF will be watching closely too to see if Zelenskiy will allow gas prices to rise to market levels, a crucial IMF demand but a politically sensitive issue and one Zelenskiy has been vague about.
Zelenskiy's unorthodox campaign traded on the character he plays in the TV show, a scrupulously honest schoolteacher who becomes president by accident after an expletive-ridden rant about corruption goes viral.
Zelenskiy has promised to fight corruption, a message that has resonated with Ukrainians fed up with the status quo in a country that is one of Europe's poorest nearly three decades after breaking away from the Soviet Union.