As General Karamat received a full guard of honour retirement in a colorful ceremony as Chairman joint chiefs and chief of army staff, Prime Minister Sharif's mandate plummeted and his popularity waned as the majority of the public disapproved of the decision to relieve Karamat. Prime Minister Sharif's further suffered with wide public disapproval after appointing much-junior General Pervez Musharraf at the both capacity, overruling the Admiral Bokhari's turn as the Chairman joint chiefs. In 1999, Musharraf's unilateral initiation of the Kargil war against India nearly pushed Pakistan and India to the brink of an all-out war between the two Nuclear states. Eventually, in the same year, Musharraf staged a successful coup d'état and overthrew Prime Minister Sharif.