In recent weeks, Pakistan and the Afghan Taliban have engaged in the most serious military clashes between the two neighbours in several years.
Qatar and Turkey mediated a ceasefire on Sunday, bringing an end to the hostilities that have killed dozens of people and wounded hundreds.
Both countries have agreed to respect one another’s territorial integrity. They will meet again in Istanbul later this week to discuss the next steps.