ISTANBUL, July 7 (Aljazeera) - Turkey supports Ukraine’s NATO membership aspirations, Turkish President Recep Tayyip Erdogan told his Ukrainian counterpart Volodymyr Zelenskyy, but he also urged for a “return to peace efforts” to end the conflict that has now raged for 500 days since Russia invaded Ukraine last year.

“There is no doubt that Ukraine deserves membership of NATO,” Erdogan told a joint press conference with the Ukrainian president in Istanbul early on Saturday, adding that the two sides should go back to peace talks.

“A fair peace creates no losers,” the Turkish leader said, according to the Reuters news agency.

Zelenskyy thanked Erdogan for his support, which comes ahead of a key NATO summit that is set to start on Tuesday in Vilnius, Lithuania.

“I am grateful for the support of Ukraine’s territorial integrity and sovereignty. Peace formula. Protection of our countries, our people and our interests,” the Ukrainian leader wrote in a tweet regarding his talks with Erdogan.

The Ukrainian leader has lobbied intensively for his embattled country to be invited to join the Western military alliance, arguing that Ukraine has become Europe’s last line of defence against Russia’s aggression.

This week, Zelenskyy visited the Czech Republic, Slovakia and Bulgaria to drum up support for Ukraine’s NATO membership bid ahead of the military alliance’s July 11-12 summit.

In Prague, he won a pledge of support for Ukraine to join NATO “as soon as the war is over”, and in Sofia, he secured backing for membership “as soon as conditions allow”.

NATO Secretary General Jens Stoltenberg also reaffirmed his view that Ukraine would become a member.

However, the timeline for Ukraine’s membership remains unclear.