Updated

Volodymyr Zelenskiy got the last laugh.

The comedian and actor, who played his country's president on television, is now set to take on the job in real life after winning Ukraine's presidential runoff vote in a landslide, according to an exit poll released Monday with nearly all the votes counted.

The Central Election Commission said Zelenskiy won 73 percent of the vote, while incumbent President Petro Poroshenko got just 24 percent with more than 96 percent of the ballots counted.

COMEDIAN AND ACTOR ELECTED AS NEW PRESIDENT OF UKRAINE, POLLS SHOW

Poroshenko conceded defeat Sunday, saying he would leave office next month, Sky News reported.

"I'm leaving office, but I want to make it clear that I'm not leaving politics," he said.

Ukrainian comedian and presidential candidate Volodymyr Zelenski speaks to his supporters at his headquarters after the second round of presidential elections in Kiev, Ukraine, Sunday, April 21, 2019.

Ukrainian comedian and presidential candidate Volodymyr Zelenski speaks to his supporters at his headquarters after the second round of presidential elections in Kiev, Ukraine, Sunday, April 21, 2019. (AP Photo/Vadim Ghirda)

Zelenskiy rode a wave of support in Ukraine's west and east -- areas that have been traditionally polarized -- on his path to the presidency.

One of the campaign themes parroted by the popular 41-year-old television comedian, who has no previous political experience, is a unified Ukraine, a nation which has been in turmoil due to bitter debates about its identity and a separatist conflict in the east fueled by neighboring Russia.

In this Sunday, April 21, 2019, photo, Ukrainian comedian and presidential candidate Volodymyr Zelenskiy, left, makes the victory sign after seeing the exit polls for the second round of presidential elections in Kiev, Ukraine.

In this Sunday, April 21, 2019, photo, Ukrainian comedian and presidential candidate Volodymyr Zelenskiy, left, makes the victory sign after seeing the exit polls for the second round of presidential elections in Kiev, Ukraine. (AP Photo/Vadim Ghirda)

"We did it together," he said after the exit poll was released, thanking his wife, parents and campaign team. "Thanks to all the Ukrainian citizens who voted for me, and to all who didn't: I promise I won't mess up."

COMEDIAN COULD UNSEAT UKRAINE'S POROSHENKO IN THIS SUNDAY'S PRESIDENTIAL RUNOFF

Zelenskiy, a Russian speaker from central Ukraine, has pledged to finally end the war in the country's eastern region and to root out corruption amid widespread fury over soaring prices and falling living standards.

Ukrainian comedian and presidential candidate Volodymyr Zelenski speaks to his supporters at his headquarters after the second round of presidential elections in Kiev, Ukraine, Sunday, April 21, 2019.

Ukrainian comedian and presidential candidate Volodymyr Zelenski speaks to his supporters at his headquarters after the second round of presidential elections in Kiev, Ukraine, Sunday, April 21, 2019. (AP Photo/Vadim Ghirda)

He'll also have to face off against Russian President Vladimir Putin, who has ruled his country for nearly two decades, if he wants to mend relations with Ukraine's powerful, controversial neighbor.

Officials in Moscow on Monday sounded cautiously optimistic -- but also sounded a note of condescension regarding Zelenskiy's victory.

Russian Prime Minister Dmitry Medvedev wrote on Facebook on Monday morning that the election results in Ukraine show "there is a chance to improve the relations with our country after all."

Medvedev, whose government has been supplying Ukrainian separatists with weapons and manpower, expressed hope Zelenskiy would be "pragmatic and responsible" when tackling separatism in the east.

CLICK HERE FOR THE FOX NEWS APP

European officials, on the other hand, pledged strong support for plans to reform the country and fight corruption.

Ukrainians voted on Sunday in a presidential runoff that saw the nation's incumbent leader struggle to fend off a strong challenge by a comedian who denounces corruption and played the role of president in a TV sitcom.

Ukrainians voted on Sunday in a presidential runoff that saw the nation's incumbent leader struggle to fend off a strong challenge by a comedian who denounces corruption and played the role of president in a TV sitcom. (AP Photo/Evgeniy Maloletka)

In a joint letter to Zelenskiy on Monday, EU Commission President Jean-Claude Juncker and European Council chief Donald Tusk said the political novice can "count on the EU's continued and steadfast support of Ukraine's sovereignty, independence and territorial integrity."

Juncker and Tusk wrote that "you can count on the EU's strong support to Ukraine's reform path, including consolidating the rule of law, fighting corruption, maintaining macro-financial stability and pursuing the essential reform of the energy sector."

The Associated Press contributed to this report.