Answer:
Babur was born in Andijan, in the Fergana Valley, in modern Uzbekistan. Babur ruled nearby Osh in Fergana Valley, located in modern Kyrgyzstan, pondered his future on Sulayman Mountain and even constructed a mosque atop of the mountain. Babur somehow concludes that the confines of the Fergana would cramp his aspirations as a descendant of famous conquering warrior princes. He wrote of the city:
"There are many sayings about the excellence of Osh. On the southeastern side of the Osh fortress is a well-proportioned mountain called Bara-Koh, where, on its summit, Sultan Mahmud Khan built a pavilion. Farther down, on a spur of the same mountain, I had a porticoed pavilion built in 902 (1496-7)"[6]
Babur was the eldest son of Umar Sheikh Mirza, governor of Fergana and great grandson of Timur the Great. He ascended the throne of Fergana in its capital Akhsikent in 1494 at the age of twelve and faced rebellion. He conquered Samarkand two years later, only to lose the vilayat of Fergana soon after. In his attempt to reconquer Fergana, he lost control of Samarkand. In 1501, his attempt to recapture both vilayats went in vain as he was defeated by Muhammad Shaybani Khan. In 1504, he conquered Kabul, which was under the rule of the infant heir of Ulugh Begh. Babur formed a partnership with Safavid ruler Ismail I and reconquered parts of Turkistan, including Samarkand, only to again lose it and the other newly conquered lands to the Sheybanids.
After losing Samarkand for the third time, Babur turned his attention to the South. At that time, the Indo-Gangetic Plain of the northern Indian Subcontinent was ruled by Ibrahim Lodi of the Afghan Lodi dynasty, whereas Rajputana was ruled by a Hindu Rajput Confederacy, led by Rana Sanga of Mewar. According to historical records and Baburnama (autobiography written by Babur himself) Daulat Khan Lodi invited him to attack on Delhi where Ibrahim Lodi was ruling at that time. He sent his ambassador to him to support him in his attack on Delhi. Also in 1524, Daulat Khan Lodi, a rebel of the Lodhi dynasty, invited Babur to overthrow Ibrahim and become ruler. Babur defeated Ibrahim Lodi at the First Battle of Panipat in 1526 CE and founded the Mughal empire. However, he again faced opposition, this time from Rana Sanga of Mewar and Medini Rai,another rajput ruler in the battle of Chanderi who considered Babur a foreigner. The Rana was defeated in the Battle of Khanwa.
Babur married several times. Notable among his sons are Humayun, Kamran Mirza and Hindal Mirza. Babur died in 1530 and was succeeded by Humayun. According to Babur's wishes, he was buried in Bagh-e-Babur in Kabul, Afghanistan. Being a patrilineal descendant of Timur, Babur considered himself a Timurid and Chagatai Turkic.[7] He is considered a national hero in Uzbekistan and Kyrgyzstan. Many of his poems also have become popular folk songs. He wrote his autobiography, Baburnama, in Chaghatai Turkic and this was translated into Persian during Akbar's reign.
He had to face several difficulties right from his accession. Among the major factors which contributed to his difficulties and problems were the legacy of Babur's will, the unfriendly treatment of his brothers and relatives and lastly, the hostile attitude of the Afghans and the Rajput's.
First he did fight withTimurid princess who wanted to control Tamerlabe' s part. Second, Babur basically was Kabul based, so he wanted Kabul to become safe. So he struggled against his uncle Muhammad Muqim, when his uncle was dead he got Kabul. After that he established Mughal Empire.
Explanation: Trust