trap for the invader's troops on the bank of the Jaxartes, and defeated his forces. Transoxiana was then ravaged by Kaidu. Baraq fled to Samarkand, then Bukhara, plundering the cities along the way in an attempt to rebuild his army. These actions alarmed Kaidu, who did not want the region to be further devastated. Kaidu also needed to free up his army for a potential conflict with Kublai. Peace was therefore proposed, and Baraq was pressured by the governors of the sedentary areas of the khanate, Mas'ud Beg and Daifu, to accept. He did, and peace was declared, although sources conflict on the time and location. Rashid al-Din claims that the meeting took place in the spring of 1269 in Talas, while Wassaf writes that it took place around 1267 to the south of Samarkand. Either way, two-thirds of Transoxiana were granted to Baraq, while the other third went to Kaidu and Mengu-Timur. Kaidu also gained control of the region around Bukhara. Neither side gained control of the cities; the administration of these instead devolved to Mas'ud Beg, while Baraq and Kaidu agreed to reside only in the deserts and mountains. Later defeats and death Kaidu convinced Baraq to attack Persia under the Ilkhanids. Baraq suffered a large defeat at Herat on July 22, 1270 against Abagha. Baraq died en route to meet Kaidu who had been waiting for his weakness. The Chagatayid princes including Mubarak Shah submitted to Kaidu and proclaimed him as their overlord. Sons of Baraq rebelled against Kaidu but they were defeated. Many of the Chagatayid princes fled to the Ilkhanate. Kaidu's early attempt to rule the Chagatayids faced a serious resistance. The Mongol princes such as Negübei, whom he appointed khan of the House of Chagatai revolted several times. Stable control came when Duwa was made khan who became his number two in 1282. In 1275 Kaidu invaded Ürümqi and demanded its submission, but the Buddhist Idiqut resisted. Kublai sent a relief force to expel him. Kublai's son Nomukhan and generals occupied Almaliq from 1266–76, to prevent Kaidu's invasion. In 1277, a group of Genghisid princes under Möngke's son Shiregi rebelled, kidnapping Kublai's two sons and his general Antong. The rebels handed Antong to Kaidu and the princes to Möngke-Temür. The Great Khan's armies drove Shiregi's forces west of the Altai Mountains and strengthened the Yuan garrisons in Mongolia and Xinjiang. However, Kaidu took control