Rampur is a city and a municipality in and headquarters of Rampur District in the Indian state of Uttar Pradesh. It is known for its various industries, including sugar refining and cotton milling. Its library has more than 12,000 rare manuscripts and a fine collection of Mughal miniature paintings.
Faizullah Khan (c.1730 - 24 July 1793) was the first Nawab of Rampur. The princely state of Rampur was set up in 1774, after the First Rohilla War, by the dismemberment of the Rohilla state of Rohilkhand. Faizullah Khan, the surviving heir of Ali Mohammed Khan and opponent of the forces of Awadh and the British East India Company in the war, was installed as ruler of what was a puppet state. It bordered the Maratha Empire to the south, making it a strategic point.
Under tutelage of the East India Company, Faizullah Khan ruled peacefully for 20 years. The capital Rampur was founded, and the Raza Library collection gathered.