Turkish President Tayyip Erdogan met Pakistan's Prime Minister Shehbaz Sharif in Istanbul on Sunday and said the two countries would strive to boost cooperation, particularly in defence, energy and transportation, Erdogan's office said.
Turkey has strong ties with Pakistan, both being largely Muslim countries and sharing historical links, and expressed solidarity with it during its recent clashes with India.
Erdogan's office said he told Sharif it was in the interest of Turkey and Pakistan to increase solidarity in education, intelligence sharing and technological support in the fight against terrorism.
Turkey's Foreign Minister Hakan Fidan, Defence Minister Yasar Guler and intelligence agency chief Ibrahim Kalin also attended the meeting.
Earlier in May, Erdogan expressed solidarity with Pakistan after India conducted military strikes in response to an attack in Indian Kashmir by Islamist assailants. The clashes between the nuclear-armed neighbours were the worst in more than two decades.
Ankara also maintains cordial ties with India but after Erdogan's expression of support for Pakistan, small Indian grocery shops and major online fashion retailers boycotted Turkish products.
Reporting by Daren Butler