Tughlugh Timur
Timur's period as a Moghul vassal came to an end when Tughlugh Timur appointed his son Ilyas Khoja as governor of Mawarannahr. Timur and Husayn both rebelled, going underground. Over the next few years, Timur survived as a bandit and a mercenary, and it was probably during this period that he suffered the wounds that caused his famous lameness (possible origin of the name Tamerlane). Eventually the two men were able to force the Moghuls out of Mawarannahr, after the in 1363, but only for a short time. In 1365, Ilyas Khoja returned at the head of an army, defeating Timur and Husayn at the battle of Tashkent. Husayn's failure to support Timur during this battle probably played a part in the eventual end of their alliance, but for the moment the two men remained together. Ilyas Khoja was unable to take advantage of his victory. He advanced to besiege Samarkand, but was repulsed and forced to retreat back into Moghulistan, where in 1369 his family was overthrown.