ISTANBUL, Turkey — The first direct Russia-Ukraine peace talks since the early weeks of Moscow’s 2022 invasion ended after less than two hours Friday, and while both sides agreed on a large prisoner swap, they clearly remained far apart on key conditions for ending the fighting.

Ukrainian President Volodymyr Zelenskyy said he discussed the results of the talks with U.S. President Donald Trump and the leaders of France, Germany, the U.K. and Poland. In a post on X from a European leadership meeting in Albania, he urged “tough sanctions” against Moscow if it rejects “a full and unconditional ceasefire and an end to killings.”

At the brief Istanbul talks, Kyiv and Moscow agreed to exchange 1,000 prisoners of war each, according to the heads of both delegations, in what would be their biggest such swap.

Both sides also discussed a ceasefire and a meeting between their heads of state, according to chief Ukrainian delegate, Defense Minister Rustem Umerov.

Russian presidential aide Vladimir Medinsky, who headed Moscow’s delegation, said both sides agreed to provide each other with detailed ceasefire proposals and Ukraine requested the heads of state meeting, which Russia took under consideration.

During the talks, a senior Ukrainian official said Russia introduced new, “unacceptable demands” to withdraw Ukrainian forces from huge swaths of territory. The official, who was not authorized to make official statements, spoke to The Associated Press on the condition of anonymity. The proposal had not been previously discussed, the official said.

The Ukrainian side reiterated it remained focused on achieving real progress — an immediate ceasefire and a pathway to substantive diplomacy — “just like the U.S., European partners, and other countries proposed,” the official added.

The two sides sat opposite each other at a U-shaped table in the Dolmabahce Palace but remained far apart in their conditions for ending the war. Trump, who has pressed both Moscow and Kyiv for an end to the conflict, said a meeting between himself and Russian President Vladimir Putin would happen “as soon as we can set it up.”

“I think it’s time for us to just do it,” Trump told reporters in Abu Dhabi as he wrapped up a trip to the Middle East.

Turkish Foreign Minister Hakan Fidan opened the talks by urging the delegates “to take advantage of this opportunity,” adding that it was “critically important that the ceasefire happens as soon as possible.”

In a social media post afterward, Fidan described the POW swap as a “confidence-building measure” and said the parties had agreed in principle to meet again.

Zelenskyy was in Tirana, Albania, with leaders of 47 European countries to discuss security, defense and democratic standards against the backdrop of the war.

He met with French President Immanuel Macron, German Chancellor Friedrich Merz, U.K. Prime Minister Keir Starmer and Polish Prime Minister Donald Tusk.

“Pressure on Russia must be maintained until Russia is ready to end the war,” Zelenskyy said on X, posting a photo of five leaders during the call, the second for the group since May 10.

Both countries engaged in diplomatic maneuvering this week as they tried to show Trump that they are eager to negotiate, although he has expressed frustration over the slow progress and has threatened to punish foot-dragging.

On Thursday, Putin spurned an offer by Zelenskyy to meet face-to-face in Turkey.

Ukraine has accepted a U.S. and European proposal for a full, 30-day ceasefire, but Putin has effectively rejected it by imposing far-reaching conditions.

Commenting on a possible Trump-Putin meeting, Kremlin spokesman Dmitry Peskov appeared to indicate that momentum for such a summit is building.

He told reporters that top-level talks were “certainly needed,” but added that preparing a summit would take time.