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.