Babur was an Uzbek warrior who laid the foundation of the Mughal dynasty in the Indian subcontinent and became the first Mughal emperor. A direct descendant of the Turco-Mongol conqueror Timur, he was eldest son of Umar Sheikh Mirza, the ruler of the Fergana Valley. After the death of his father in a freak accident when Babur was just 11, the young boy ascended to the throne and faced rebellion from his own relatives. A valiant warrior from a young age, he soon began embarking on military campaigns to expand his territories. However, during the course of his early campaigns, he lost control over the city of Fergana. But he did not let this early setback thwart his quest for power and formed a partnership with Safavid ruler Ismail I and re-conquered parts of central Asia. Eventually he set his eyes upon the Indian subcontinent and attacked the Delhi Sultanate ruled by Ibrahim Lodi and defeated him at the First Battle of Panipat. This marked the beginning of the Mughal Empire in India. He soon faced opposition from Rana Sanga of Mewar who considered Babur as a foreigner and challenged him. Babur successfully defeated Rana at the Battle of Khanwa. In addition to being an ambitious ruler he was also a gifted poet and a lover of nature.