The Mughal emperors were Turk-Mongols originally. Babur of the Timurid dynasty founded the Mughal Empire (and Mughal dynasty) in 1526 and ruled until 1530. He was followed by Humayun (1530-1540) and (1555-1556), Akbar (1556-1605), Jahangir (1605-1627), Shah Jahan (1628-1658), and the Islamic Aurangzeb (1658-1707) and several other minor rulers until Bahadur Shah Zafar II(1837-1857). After the death of Aurangzeb, the rule through sharia ended and the Mughal Empire became weak. It continued until 1857-58. By that time, India came under the British Raj.