In 1526 Babur, heir of Timur, broke the Lodi host at Panipat with gunfire and founded the Mughal Empire; his grandson Akbar (1556-1605) united the north on religious concord, the zabti revenue system and one administration; under Jahangir and Shah Jahan letters flourished, and the Taj Mahal (1632-1653) was built for Shah Jahan's queen; Aurangzeb (1658-1707) stretched the map to its widest while his religious pressure sowed the break-up. The 18th century brought Maratha rise, Nader Shah's sack of Delhi (1739) and Afghan blows; after 1803 the Delhi court stood under British protection. In the great rising of 1857 the last emperor, Bahadur Shah II, was raised as its figurehead; the revolt failed, he was deposed, and in 1858 the crown of India passed to the British sovereign - the Mughal name and fact alike ended.