How long did the Mughal empire last in India?

Context: The Mughal Empire was an early-modern empire that controlled much of Indian subcontinent between the 16th and 19th centuries. For some two hundred years, the empire stretched from the outer fringes of the Indus river basin in the west, northern Afghanistan in the northwest, and Kashmir in the north, to the highlands of present-day Assam and Bangladesh in the east, and the uplands of the Deccan Plateau in South India.It included present day areas of India, Pakistan, Afghanistan and Bangladesh.

The Mughal empire is conventionally said to have been founded in 1526 by Babur, a warrior chieftain from what is today Uzbekistan, who employed aid from the neighboring Safavid and Ottoman empires, to defeat the Sultan of Delhi, Ibrahim Lodi, in the First Battle of Panipat, and to sweep down the plains of North India. The Mughal imperial structure, however, is sometimes dated to 1600, to the rule of Babur's grandson, Akbar. This imperial structure lasted until 1720, shortly after the death of the last major emperor, Aurangzeb, during whose reign the empire also achieved its maximum geographical extent. Reduced subsequently to the region in and around Old Delhi by 1760, the empire was formally dissolved by the British Raj after the Indian Rebellion of 1857.

Although the Mughal empire was created and sustained by military warfare, it did not vigorously suppress the cultures and peoples it came to rule; rather it equalized and placated them through new administrative practices and diverse ruling elites, leading to more efficient, centralised, and standardized rule. The base of the empire's collective wealth was agricultural taxes, instituted by the third Mughal emperor, Akbar. These taxes, which amounted to well over half the output of a peasant cultivator, were paid in the well-regulated silver currency, and caused peasants and artisans to enter larger markets.

The relative peace maintained by the empire during much of the 17th century was a factor in India's economic expansion. The burgeoning European presence in the Indian Ocean, and its increasing demand for Indian raw and finished products, created still greater wealth in the Mughal courts. There was more conspicuous consumption among the Mughal elite, resulting in greater patronage of painting, literary forms, textiles, and architecture, especially during the reign of Shah Jahan. Among the Mughal UNESCO World Heritage Sites in South Asia are: Agra Fort, Fatehpur Sikri, Red Fort, Humayun's Tomb, Lahore Fort, Shalamar Gardens, and the Taj Mahal, which is described as "the jewel of Muslim art in India, and one of the universally admired masterpieces of the world's heritage."

Answer: The Mughal empire was founded by Babur in 1526 and was dissolved by the British in 1857, a span of 331 years.