Shah Alam was now forty-five, late middle age by Mughal standards. For all his mixed fortunes in battle, he could still look back on many aspects of his life with gratitude: he had successfully eluded assassination at the hands of Imad ul-Mulk, and had survived four pitched battles with the Company’s sepoys, only to have the victors swear him allegiance. He had made it back to Delhi and now occupied the Peacock Throne, independent within his kingdom and beholden to no one. This was for Shah Alam an almost miraculous outcome, and one that he had no hesitation attributing to divine intervention.