The official state religion of Mughal India was Islam, with the preference to the jurisprudence of the Hanafi Madhhab (Mazhab). Hinduism remained under strain during Babur and Humanyun's reigns. Sher Shah Suri, the Afghan ruler of North India was comparatively non-repressive. Hinduism came to fore during the three-year rule of Hindu ruler Hemu Vikramaditya during 1553–1556 when he had defeated Akbar at Agra and Delhi and had taken up the reign from Delhi as a Hindu 'Vikramaditya' after his 'Rajyabhishake' or coronation at Purana Quila in Delhi. However, during Mughal history, at times, subjects had the freedom to practise any religion of their choice, though kafir able-bodied adult males with income were obliged to pay the jizya, which signified their status as dhimmis.