In 1772 the Nawab of Oudh made a treaty with the Rohillas, to expel the Marathas in return for a money payment. Nawab of Oudh carried out his part of the bargain, but the Rohilla chieftains refused to pay. In 1774 the Nawab concluded with the East India Company government of Calcutta a treaty of alliance, and he then called upon the British, in accordance with its terms, to supply a brigade to assist him in enforcing his claims against the Rohillas. This was done; in the Rohilla War, the Rohillas were driven beyond the Ganges to the east, and Bijnor was incorporated in the territories of the nawab, who in the same year (1774) ceded it to the British East India Company. During the rebellion of 1857 Bijnor was occupied by the nawab of Najibabad, a grandson of Zabita Khan, on 1 June. In spite of fighting between the Hindus and the Muslim Pashtuns, the Nawab succeeded in maintaining his position until 21 April 1858, when he was defeated by the British at Nagina.