The Mughal Empire was a Persianate empire established in northern Indian in 1526 and lasted until 1857. It was founded by Babur, a Central Asian ruler who was descended from both Timur and Genghis Khan. At its peak under Emperor Akbar, the Mughal Empire ruled most of the Indian subcontinent north of the Godavari River and Afghanistan. It introduced political and economic reforms but began declining in the early 18th century due to revolts and the rise of regional powers like the Marathas. The last Mughal emperor, Bahadur Shah II, was exiled and the empire was ended after the 1857 Indian rebellion against British rule.