The fame of Amir Temur's intelligence, courage and courage brought him closer to the influential emirs of Movarunnahr, first Joku Barlos and then Amir Kazogan (1346-1358). His father first married Amir Temur (1352) to Turmish Ag, daughter of Amir Joku Barlos. In 1362, Amir Temur married the grandson of Kazagon, the sister of Amir Hussein Uljoy Tyurkon-aga. Family ties with the Balkh emir due to a subsequent marriage undoubtedly led to an alliance between Amir Temur and Amir Hussein, and a serious struggle with the Mongols began.
The fame of Amir Temur's intelligence, courage and courage brought him closer to the influential emirs of Movarunnahr, first Joku Barlos and then Amir Kazogan (1346-1358). His father first married Amir Temur (1352) to Turmish Ag, daughter of Amir Joku Barlos. In 1362, Amir Temur married the grandson of Kazagon, the sister of Amir Hussein Uljoy Tyurkon-aga. Family ties with the Balkh emir due to a subsequent marriage undoubtedly led to an alliance between Amir Temur and Amir Hussein, and a serious struggle with the Mongols began.
However, the inhabitants of Movarunnahr do not dare to fight against the Mongols. Haji Barlos, the ruler of the Kesh region, fled to Khorosan. In such a difficult time, Amir Temur enters the field. Considering that the forces were unequal, Amir Temur arrived with the beggars sent to Kesh by Tughluk Temur at the beginning of 1360. According to circumstances, he enters the khan's service and is appointed daruga of his province with his own label. However, as a result of disagreements between Ilyashkhoja and Amir Temur, appointed khumdar of Movarunnahr, he left the country at the end of 1361 and went to Khorezm.
However, the inhabitants of Movarunnahr do not dare to fight against the Mongols. Haji Barlos, the ruler of the Kesh region, fled to Khorosan. In such a difficult time, Amir Temur enters the field. Considering that the forces were unequal, Amir Temur arrived with the beggars sent to Kesh by Tughluk Temur at the beginning of 1360. According to circumstances, he enters the khan's service and is appointed daruga of his province with his own label. However, as a result of disagreements between Ilyashkhoja and Amir Temur, appointed khumdar of Movarunnahr, he left the country at the end of 1361 and went to Khorezm.
There he meets Amir Hussein, and the two of them join forces and gain strength in the fight against the Mongols. First they fought with Tukal (Tavakkal), the ruler of Khiva, who, on the orders of Tughluk Temur Khan, began to pursue Amir Temur. Then, in the fall of 1362, speaking on the side of the regional ruler Malik Qutbiddin in Seistan, in a clash with the Mekronites, Amir Temur was wounded in the right wrist and right leg. Finally, Ilyashoja managed to expel the Mongols from the Movarounnahr area at the end of 1364 after several battles with Jeta's troops. However, in the spring of 1365, Ilyashoy sent an army to Turkestan. In the “Mud Battle” between Tashkent and Chinoz, Amir Temur’s troops were defeated due to the betrayal of Amir Hussein.