After the end of the Timurid Empire in 1507, the Mughal Empire was established in 1526 in South Asia by Babur, a descendant of Timur through his father and possibly a descendant of Genghis Khan through his mother. The dynasty he established is commonly known as the Mughal dynasty (see Mughal emperors). By the 17th century the Mughal Empire ruled most of the Indian subcontinent, but declined during the 18th century.