After losing Samarkand for the third time, Babur turned his attention to India and employed aid from the neighbouring Safavid and Ottoman empires Babur defeated Ibrahim Lodi, Sultan of Delhi, at the First Battle of Panipat in 1526 CE and founded the Mughal Empire. At the time, the sultanate at Delhi was a spent force that was long crumbling. The Mewar kingdom, under the able rule of Rana Sanga, had turned into one of the strongest powers of northern India. Sanga unified several Rajput clans for the first time after Prithviraj Chauhan and advanced on Babur with a grand coalition of 100,000 Rajputs. However, Sanga suffered a major defeat in the Battle of Khanwa due to Babur's skillful positioning of troops and modern tactics. The Battle of Khanua was one of the most decisive battles in Indian history, more so than the First Battle of Panipat, as the defeat of Rana Sanga was a watershed event in the Mughal conquest of northern India.