Shah Jehan. He was defeated by Shah Shuja, the second son of Shah Jehan, then the subahdar of Bengal. During the era of the Muslim rulers of Bengal nawab, Alivardi Khan's general Mir Jafar fought successfully against Mir Habib's lieutenant Sayyid Nur near Midnapore town in 1746. This was part of his campaign to regain Odisha and thwart the Maratha attacks on Bengal. Mir Habib came up from Balasore and was joined by the Marathas, but Mir Jafar fled to Burdwan, leaving Mir Habib to retake Midnapore with ease. Alivardi defeated Janoji Bhosle, a Maratha chieftain, in a severely contested battle near Burdwan in 1747 and Janoji fled to Midnapore. The Marathas held on to Odisha including Midnapore until 1749 when it was reconquered by Alivardi. The Marathas continued to raid Midnapore, which proved disastrous for the residents. In 1756, Alivardi died and his successor was Siraj-ud-daulah. On 20 June 1757, he was betrayed by Mir Jafar to the East India Company under the command of Lord Robert Clive at Plassey. This consolidated the company's hold on Bengal and Odisha (along with Midnapore). The district of Midnapore which included Dhalbhum or Ghatshila, now in Singhbhum, Jharkhand was annexed in 1760 along with Burdwan and Chittagong both handed over to the East India Company by Mir Qasim. The last free king of Dhalbhum was imprisoned in Midnapore town. Some of the Malla kings of Mallabhum in the Bankura district held land in northern Midnapore district, while the Raj rules of Narajole, Jhargram, Lalgarh, Jamboni, and Chandrakona held sway in their local areas. The Raj rulers in Rajasthan would pay homage to Jagannath but carves out their own territories under the supremacy of the Hindu empires of Odisha. Midnapore is notable for its contribution in the history of Indian freedom movement since it has produced many martyrs. During the British Raj, the city became a centre of revolutionary activities, such as the Santal Revolt (1766–1767) and the Chuar rebellion (1799). The Zilla School, now known as Midnapore Collegiate School was the birthplace of many extremist activities. Teachers like Hemchandra Kanungo inspired and guided the pupils to participate in the Indian Freedom Movement. Three British District Magistrates were assassinated in succession by the revolutionaries Bimal Dasgupta, Jyothi Jibon Ghosh, Pradyot Kumar Bhattacharya, Prabhakangsu Pal, Mrigan Dutta, Anath Bandhu Panja, Ramkrishna Roy, Braja Kishor Chakraborty, Nirmal Jibon Ghosh. Khudiram Bose and Satyendranath Basu were