Rampur is a city and a municipality located in Rampur District in the Indian state of Uttar Pradesh. It also gave its name to a former princely state of British India, once ruled by an Afghan Nawab from the Rohilla tribe. It was incorporated into the state of Uttar Pradesh in 1949.
The Rohilla War of 1774-5 began when the Rohillas reneged on a debt they owed the Nawab of Oudh for military assistance against the Marathas in 1772. The Rohillas were defeated and driven from their former capital of Bareilly by the Nawab of Oudh with the assistance of the East India Company's troops. The Rohilla State of Rampur was established by Nawab Faizullah Khan on 7 October 1774 in the presence of British Commander Colonel Champion, and remained a pliant state under British protection thereafter.