War in North-West Pakistan order of battle
The North-Western Contingent order of battle (NWPORBAT; officially order of battle is known as "Tri-services framework  (TSW)") is the comprehensive deposition and systematic structure of the unified Pakistan military forces in tackling down and controlling the insurgency in Western Pakistan. The deployments began in 2002 after the International Security Assistance Force invasion of Afghanistan in 2001 in a response to the deadly terrorist attacks in New York, United States. This article lists deployed unified military units under the command of the Joint Chiefs of Staff Committee (JCSC) which controls both combatant operations and reconstruction efforts, which is often led by the National Reconstruction Bureau (NRB). Since 2002, the number of troops stationing and circling increased to keep the momentum and pressure on the insurgent groups laying militant attacks on Pakistan. In 2008, Chairman joint chiefs General Tariq Majid submitted his report on new deployment and formations under title as "Tri-services framework", to Prime Minister Yousaf Raza Gillani which was approved by the Prime minister. Deployment of the military forces 

After the 9/11 attacks on the United States, the U.S. military responded with a large invasion of Afghanistan in 2001. Initially, all Pakistan Army troops were mobilized in different military formations and deployment continued in all over the country during this period, under the command of Chairman joint chiefs General Pervez Musharraf, also self-appointing President at that time. After laying discussion principle Joint Chiefs of Staff Committee, the XI Corps (roughly ~60,000 men) was deployed under the command of Lieutenant-General Alijan Aurakzai in North-western. Other formations were rested in eastern, southern, and the northern borders of the country. By 2004, additional battalions were stationed by General Musharraf to help curb infiltration into Pakistan through its porous border. On 7 October 2004, Musharraf approved the appointment of his close aide, General Ehsan-ul-Haq, who superseded seven colleagues who was brutally criticized by the media. The appointment was highly controversial and political since Admiral Shahid Karimullah, Chief of Naval Staff, was the senior-most four-star officer in the armed forces. After becoming the chairman joint chiefs, General Ehsan-ul-Haq oversaw the ground troops deployment of army only, while the air force was kept out of the region. The strategy proved to be wrong as the violence spread out all over the country, and the army was increasingly in great pressure from the militants in 2004-07. In 2007, chairman joint chiefs General Ehsan-ul-Haq admitted the only ground troops deployment was wrong as the "Waziristan truce went wrong". President Musharraf ordering the highly controversial and criticized military action, Silence, to take over the Red Mosque complex plummeted Musharraf and General Ehsan's support. In 2007, President Musharraf approved the General Tariq Majid and General Ashfaq Parvez Kayani's appointment to four-star appointment. Keeping aware of the situation, General Majid began studying the new deployment of Pakistan armed forces. After Musharraf was ousted from the presidency in a threat of impeachment movement, General Majid submitted his studies to Prime Minister Yousaf Raza Gillani and stressed out on the need to strengthen the tri-services framework. The new order of battle now known as, "tri-services framework", General Tariq Majid strongly emphasized  to harmonize individual capacities of the services so that efforts are synergized within a framework of jointness and inter-operability to meet present and future challenges. Since 2008, the combined formations of Pakistan military has over a hundred thousand troops in the region. From open sources it seems that 4 Pakistan army divisions, assisted by the PAF and the navy, are involved in the operation, with a JS HQ coordinating their efforts. They appear to be two regular and two heavy infantry divisions Frontier Corps operates under a separate command, but its units are often parceled out to the Army. The Corps in the region, the XII Corps, usually has 2 infantry divisions, it has received from what can be gleaned from open sources two additional divisions, one from Multan; the 14th, and another from Kashmir; the 23rd. Unified military formations and deployments

Commanders

References 

War on Terror orders of battle
Pakistan Army
Insurgency in Khyber Pakhtunkhwa
Pakistan Air Force
Naval operations involving Pakistan