ISLAMABAD (AP) — It had all the elements of a classic coup: thousands descending on the capital, clashing with police outside parliament and commandeering state TV to demand the ouster of a civilian leader who had locked horns with the military in a country with a long history of turmoil and dictatorship. [...] when the tear gas cleared in Islamabad in August, Pakistan's Prime Minister Nawaz Sharif remained in office with the support of the entire parliament, the troops were still in their barracks, and the protesters had dwindled to a few thousand, their "revolution" confined to a festive, shrinking tent camp. Beyond the voting allegations, Khan and Sharif are longtime political opponents, while Qadri holds Sharif personally responsible for the deaths of 14 of his supporters in clashes with police in Lahore in June. The army says it deployed troops to protect government buildings but that it was up to the 30,000 police and paramilitary groups — who take orders from government — to handle crowd control. [...] most of the protesters left on their own.