 Like most of the other Chobanids, Yagi Basti threw his support behind his nephew Hasan Kucek when the latter took control of northwestern Iran in 1338.Eventually, however, he had a falling out with Hasan Kucek and fled to the court of the Jalayirid Hasan Buzurg, who controlled Baghdad, in 1341.There he met the Injuid Mas'ud Shah and formed a plan to seize the city of Shiraz from Pir Hosayn, who was Yagi Basti's cousin.