Ukraine’s Central Election Commission showed Zelenskyy, a political novice who is better known for playing a president in a TV sitcom, had secured 30.2 percent of the votes cast on Sunday.
“This is just a first step towards a great victory,” he told supporters on Sunday after the publication of the exit polls which showed a similar result.
According the official results, only 15.9 percent of votes were cast in favour of Poroshenko, who has been in power since 2014.
“I critically and soberly understand the signal that society gave today to the acting authorities,” he said, accepting the results.
It was a different story for opposition leader Yulia Tymoshenko, who came third according to both the exit polls (14 percent) and the official count (13.4 percent), but believed she secured enough votes to be in second place.
According to CEC the voter turnout stood at 63.4 percent. The decisive runoff will take place on April 21.
Zelenskyy’s foreign policy
Dmytro Razumkov, Zelenskyy’s political aide, told Al Jazeera that if the comedian won the second round of voting he would stand by the Minsk Agreement.
The accord was forged by France, Germany, Ukraine and Russia – the countries involved in talks known as the Normandy Format – to secure a truce in the country’s east between the Moscow-backed rebels and the Ukrainian army that was the backbone in Ukraine’s security forces.
“All sanctions put in place by the European Union against Russia are linked to the Minsk Agreement. If we try to annul it, we might lose these sanctions. It can’t be,” Razumkov said, speaking after Zelenskyy’s speech at his campaign headquarters in Kiev.
“Zelenskyy’s proposal is to add the United Kingdom and the United States to the Normandy Format as the signatories of the Budapest Memorandum to apply a joint pressure on Russia like a laser beam.”
Under Zelenskyy, Razumkov said, Ukraine would continue to aspire to join the European Union and NATO, but it would hold a referendum on the issues only when the chance of doing so was realistic.
“We will not be selling air. Even Germany’s [Chancellor] Angela Merkel said that the prospect is far. It doesn’t mean that we will stop aspiring to join the EU; we must keep following the path and one day achieve it,” he said.
“The story is similar with the NATO. We need to modernise the army and at the moment Ukraine is not in a position to do so.
“We will not be holding a referendum on these subjects 10-20 years ahead of time, but at a time when there is a realistic opportunity [to join the EU and NATO].”
Corruption, Russia, EU
The vote on Sunday was the first since the so-called Revolution of Dignity brought Poroshenko to power five years ago.
The 53-year-old, who was elected with almost 55 percent of vote in 2014, seems to have failed to rally his electorate despite his efforts to be seen as a passionate defender of the country’s territorial unity, as well as the champion of the goal of joining the EU and NATO.
During his time in office, Poroshenko reinforced the country’s army and ratified the Association Agreement with the EU, the document that enabled Ukrainians to trade with and travel to Europe without restrictions.
The incumbent president also secured the independence of Ukraine’s Orthodox Church from its Russian counterpart. But he failed to rid the country of corruption or recover money stolen from Ukraine’s coffers before he came to power.
At a polling station in central Kiev, Sviatoslav Yurash, a 23-year-old working for Zelenskyy’s election campaign team, told Al Jazeera he was backing the comic because “he will be pro-market, pro-Ukraine, pro-Europe, pro-NATO”.
Tetiana Boriak, 37, said she voted for Poroshenko because she believed he was the only candidate who would resist Russia.
“I do not think that other candidates will be able to negotiate with [Russia’s President Vladimir] Putin. Poroshenko is the only one who will resist the way I think is correct,” she told Al Jazeera.
The elections took place against a backdrop of war that has killed more than 13,000 people in Ukraine’s eastern Donetsk and Luhansk region, with government forces fighting Russia-backed separatists.
The conflict followed Russia’s annexation of Crimea in 2014 which in turn came after Ukraine overthrew Moscow-backed leader Viktor Yanukovich earlier that year.
Several million of the approximately 35 million eligible voters were unable or unwilling to cast their ballots in the occupied territories.
Oleksandr Bondarenko, a 28-year-old software developer, said she had voted for Tymoshenko “because with her in the second round, we will have a better chance of defeating Poroshenko”.
“This vote is very important for us because President Poroshenko has to leave. A lot of issues came up with his policies, especially with corruption,” said Bondarenko.
Olena Peftiiva, 53, came to the polling station not only to cast her ballot but also make sure that her deceased husband’s ballot was not used improperly.
“My husband has been dead for 10 years. But his election registration confirmation arrived at my address. This has not happened during previous polls. I came to the polling station to make sure that his ballot is destroyed,” she said.
Follow Al Jazeera’s Tamila Varshalomidze on Twitter @tamila87v