After the Rohilla War, the change in the power structure increased discontent throughout the district. Increased taxation from 1812 to 1814 increased resentment of the British: "Business stood still, shops were shut and multitudes assembled near the courthouse to petition for the abolition of the tax." The Magistrate Dembleton, already unpopular, ordered the assessment to be made by a Kotwal. A skirmish between rebels and the sepoys (under Captain Cunningham) cost 300–400 lives. In 1818, Robert Glyn was posted as Acting Judge and Magistrate of Bareilly and the Joint Magistrate of Bulundshahr.