 In 1804, the upper doab was separated by the Moradabad district and was constituted into a new district (under the name of Saharanpur) flanked by the Ganga on the east of the Yamuna on the west end bounded by some hills (called the Srinagar hills) on the north and the district of Aligarh on the south.Between 1804 and 1806, the parganas of Baghpat, Sarnawa, Loni, Chhaprauli, Dasana, Jalalabad and Dadri were placed in the charge of the residents at Delhi but later were attached to the southern division of Saharanpur, with a collector resident at Meerut, the revenue administration of the northern division being under the collector stationed at Saharanpur.The district of Meerut came into being in 1818 and included the southern division of the Saharanpur district and the Aligarh parganas of Dankaur Kasna Adha, Tilbegampur, Sikandarabad, Baran, Malagarh, Agauta and Ahar-Malakpur.