Timur could easily have seized power for himself, and his friends and family often urged him to do so. He however remained loyal - that is, until Baraq Khan, jealous of Timur's success and fearful of his ambitions, attempted to have him assassinated. Timur survived and fled alone to neighbouring Iran, where he offered his services to the Mihranid dynasty.
The Mihranids, though they had fought against Timur in the past, welcomed him with open arms. Ten years later, when the Chagatai Khanate invaded Iran once again, it was Timur who led the Mihranid armies and defeated the Chagataids. He took his revenge on Baraq Khan in single combat on the battlefield, but was then killed by an arrow shot by his own son Shahrukh.