Erdogan thanked Duda for "providing support to his journey to Ukraine."
The president traveled to Lviv, a city in western Ukraine near the Polish border, for talks with Ukrainian President Volodymyr Zelensky and United Nations chief Antonio Guterres.
With Ukrainian airspace closed due to the ongoing war, the Turkish president's trip was "partially via Poland," according to Türkiye's Communications Directorate.
In a phone call with Duba after meeting the Ukrainian and U.N. leaders, Erdogan said the trio "held talks which would hopefully contribute to the peace process in Ukraine."
Duda also invited Erdogan to Poland for talks, the statement added.