From 1717 until 1880, three successive dynasties – Nasiri, Afshar, and Najafi – ruled as the Nawab Nazims of Bengal. The first dynasty, Nasiri, ruled from 1717 until 1740. The founder of the Nasiri dynasty, Murshid Quli Khan, was born in a Deccani Odia Brahmin family, before being sold into slavery and bought by one Haji Shafi Isfahani, a Persian merchant from Isfahan. He was then initiated into Islam. He entered the service of Mughal emperor Aurangzeb and rose through the ranks. He was succeeded by his son-in-law, Shuja-ud-Din Muhammad Khan. After Shuja-ud-Din's death, in 1739, he was succeeded by his son, Sarfaraz Khan, who held the rank, until he was killed in the Battle of Giria in 1741, and was succeeded by Alivardi Khan, erstwhile ruler of Patna, of the Afshar Dynasty in 1740. The second dynasty, the Afshars, ruled from 1740 to 1757. Nawab Siraj ud-Daulah, Alivardi Khan's grandson, the last Afshar Nawab, was killed in the Battle of Plassey in 1757. They were succeeded by the third and final dynasty, namely the Najafis. The Zamindars of Bihar maintained a tenuous loyalty to the Nawabs of Bengal. Rebellion and the withholding of revenue was a common feature of the Nawab period in Bihar. In fact, when the British gained control of Bihar, they realised that one quarters of revenue in Bihar had been withheld from the state. A prominent example of this were the zamindars of Raj Darbhanga in North Bihar were legally independent from Nawabs and refused to pay tribute and revenue to them. A major rebellion against the Nawabs of Bengal was led by the Ujjainiya Rajput chiefs of Bhojpur in West Bihar in 1760 during the reign of Mir Qasim. This rebellion was a serious blow to the Nawabs rule in Bihar and they faced great difficulty in subduing them. Although Bihar had the potential to provide a large amount of revenue and tax, records show that the Nawabs were unable to extract any money from the chiefs of Bihar until 1748. And even following this, the amount gained was very low. This was again due to the rebellious nature of the zamindars who were "continually in arms".