Who was the Governor General of India when the Third Anglo-Maratha war took place?

Who was the Governor General of India when the Third Anglo-Maratha war took place?

جب تیسری اینگلو مراٹھا جنگ ہوئی تو ہندوستان کا گورنر جنرل کون تھا؟
Explanation

Lord Hastings was the Governor General of India when the Third Anglo-Maratha War took place

Third Anglo-Maratha War was the final and decisive conflict between the English East India Company and the Maratha Empire in India

while

Lord Dalhousie was the Governor-General of India from 1847 to 1856.

He merged the state of Punjab with the British Empire, after the Second Anglo-Sikh War

ND29-5-2023