Babur, a descendant of Timur and Genghis Khan, had established a power base in Kabul but the victory at Panipat gave him control of Delhi and Agra, allowing him to establish the foundations of what would become the Mughal Empire in India.