Pakistan and Afghanistan's Taliban government have agreed to an immediate ceasefire after more than a week of deadly fighting.
The foreign ministry of Qatar, which mediated talks alongside Turkey, stated that both sides have committed to establish mechanisms to consolidate lasting peace and stability.
Zabihullah Mujahid, the spokesman for the Taliban, emphasized the importance of ending hostile actions, while Pakistan's foreign minister termed the agreement as a first step in the right direction.
Both factions reported significant casualties during the clashes, which marked the fiercest fighting since the Taliban regained control in 2021.
Islamabad has often accused the Taliban of harboring armed groups that conduct attacks inside Pakistan, a claim the Taliban denies. Clashes intensified along the 1,600-mile border after the Taliban condemned Pakistan for alleged attacks on Kabul.
In the subsequent weeks, Afghan forces targeted Pakistani border posts, provoking Pakistan to retaliate with drone strikes.
Reports from the UN Assistance Mission indicated at least 17 Afghan civilians were killed, with hundreds more injured following the confrontations.
A preliminary truce period was declared as representatives convened in Doha, although some cross-border attacks continued.
Last Friday, the Taliban accused Pakistan of conducting an airstrike that resulted in eight casualties, including three local cricket players.
According to the newly established agreement, the Taliban pledged not to support any groups conducting attacks against Pakistan, while both parties agreed to refrain from targeting each other's civilians and security personnel.
Pakistan's Defense Minister, Khawaja Asif, highlighted that this ceasefire aims to halt terrorism from Afghan soil towards Pakistan immediately, with both sides planning to meet again in Istanbul for further discussions.
Historically, Pakistan has been a major supporter of the Taliban following its fall in 2001; however, relations have soured due to Islamabad's accusations of the Taliban providing a safe haven to the TTP, which has carried out numerous attacks against Pakistani forces.
In the previous year, militant assaults within Pakistan attributed to the Taliban reportedly exceeded 600.