Speaking at the Munich Security Conference, Zelenskiy said he hopes to end the conflict by the end of his presidential term in 2024.
“If in five years, we will end the war, bring our people back, then I did (became president) for a reason,” he said.
Thanking the United States for supporting Ukraine in its conflict with Russia, Zelenskiy expressed hope to “start afresh” Kyiv's relations with the U.S. now that proceedings for President Donald Trump's impeachment are over.
Ukraine and Zelenskiy were at the center of the impeachment hearings. In a phone call in July that triggered a congressional inquiry, Trump pressured Zelenskiy to investigate the involvement of Democratic presidential candidate Joe Biden's son with Burisma, a Ukrainian gas company.
In Munich, Zelenskiy said he wants to visit the White House, and he invited Trump to Kyiv.
“We have a good relationship with the U.S., and I'm grateful to Americans for their support,” he said.
Zelenskiy said Saturday in Munich he wants local elections held across Ukraine, including certain areas of the east, in October. But the votes can't take place while fighting continues, he said.
“People in Donbass need elections that would be recognized as legitimate. But they can't be that if held not in accordance with Ukrainian laws, to the sound of gunfire and without (Kyiv's) control of Ukraine's border,” the president said.
Zelenskiy announced discussions with Russian President Vladimir Putin in April about another exchange of prisoners. There are currently 200 Ukrainians held in the rebel-controlled areas, Zelenskiy said.
Yuras Karmanau in Minsk and Daria Litvinova in Moscow contributed.