The empire that Humayun inherited after his father Babar was very unstable and lacked strong administration. This made him face many problems from the very start. The weak empire attracted aggression from external forces like the Afghans, Rajputs, etc. His biggest rival was Sher Shah Suri who defeated him in the battle of Kannauj in the year 1540. He was left with no option but to leave India and escape to Iran for sometime.

The Mughal Empire remained inactive for a period of nearly 15 years. Sher Shah Suri established his own dynasty and called it the Suri dynasty. In the year 1555, Humayun came back with a strong force and fierce determination and recovered his kingdom back. He ruled over most of India, Pakistan and Afghanistan and was an efficient ruler. He was quite the gentleman and had much interest in astrology and mathematics. Humayun was inclined towards the finer things in life and was not a very fierce warrior. He was very affectionate towards his brothers and did not punish them even though they had betrayed his trust many times.
Though Humayun managed to get his kingdom back, he couldn't rule for long. One day while coming down from his library, he slipped and fell down the stairs. He suffered massive injuries including a skull fracture. Due to his advancing age and lack of medicinal facilities, he died a tragic death. The kingdom was left with his son Akbar.