He thus sided with the British East India Company and was killed in 1848. His sons, including Muhammad Hayat, were raised and educated by the British Indian officers like John Nicholson and James Abbott. 