joint military logistics, the nuclear tests were eventually carried out on 28 May 1998, as Chagai-I, and on 30 May 1998 as codename: Chagai-II. As dawn broke over the Chagai mountains, Pakistan became the world's seventh nuclear power. Secondly, the NSC meeting took place during the heights of the Kargil War in 1999. Empowerment of the NSC at the bureaucratic level was the primary issue that led to the forced relieve of Chairman Joint Chiefs General Jehangir Karamat in 1998. In an absence of the forum, the upheavals in civil–military relations led to the dismissal of Prime Minister Nawaz Sharif in 1999 when he tried to dismissed then-Chairman Joint Chiefs Pervez Musharraf. Reconstruction and developments: 2004-2008 After staging a coup d'état against the government of Prime Minister Nawaz Sharif in 1999, Chairman joint chiefs Pervez Musharraf announced the establishment of six member national security council in his first television speech. Through a presidential act, the concept of NSC was formally established under an order of the chief executive on 30 October 1999. The presidential order also led the establishment of the National Reconstruction Bureau (NRB) as a think tank. Although NRB gained quick constitutional establishment in 2000 the NSC's constitutional establishment did not really took off due to political consensus over the establishment of this institution. Finally in 2004, Prime Minister Shaukat Aziz presented the National Security Council through an Act of Parliament and succeeded in constitutionally establishing the NSC for the first time in April 2004. Originally the NSC bill proposed that the NSC would also deal with the "matters relating to democracy, governance, and inter-provincial harmony." This sentence was later controversially replaced by President Musharraf with "crisis management" without explaining its operational. President and Chief of Army Staff General Pervez Musharraf created the office in Aiwan-e-Sadr, and appoint civil bureaucrat Tariq Aziz as the first National Security Advisor. According to PILDT, since its reestablishment, Musharraf conveyed very few national security meetings, and most meetings were conducted to discuss political situations only. He resigned from the post of NSC secretariat when Musharraf resigned from presidency on 18 August 2008. He was succeeded by Mahmud Ali Durrani as the second National Security Advisor, directly reporting to the Prime minister Secretariat. Durrani was notably deposed by the Prime Minister Yousaf Raza Gillani in January 2009 for "not consulting the Prime Minister while giving statements on foreign relation matters". The matter in