second line. This counter-attack broke Alexios's flankers; as they retreated in panic, they fell upon the Immortals, who also panicked and fled, abandoning their posts. Although they suffered some casualties from Bryennios's pursuing men, most managed to escape well to the rear of Alexios's army. Alexios, who was fighting with his retinue alongside the Franks, did not immediately realize that his left wing had collapsed. In the meantime, on his right wing, the Chomatenoi, engaged with Tarchaneiotes's men, were outflanked and attacked in the rear by the Pechenegs, who had somehow evaded Alexios's Turkish flank-guards. The Chomatenoi too broke and fled, and Alexios's fate seemed sealed. At this point the Pechenegs failed to follow up their success, and instead turned back and began looting Bryennios's own camp. After gathering what plunder they could, they left the battle and made for their homes. Nevertheless, Bryennios's victory seemed certain, for his wings began to envelop Alexios's Franks in the centre. Realizing his position and despairing in the face of defeat (and, as Bryennios the Younger records, because he had disobeyed imperial orders to wait for more Turkish reinforcements and feared punishment from Botaneiates), Alexios at first resolved to attempt an all-or-nothing attack on Bryennios himself to decapitate the enemy army, but was dissuaded by his servant. With only six of his men around him, he then managed to break through the surrounding enemy soldiers. Confusion reigned behind their lines as a result of the Pecheneg attack on the rebel camp, and in this tumult Alexios saw Bryennios's imperial parade horse, with his two swords of state, being driven away to safety. Alexios and his men charged the escort, seized the horse, and rode away with it from the battlefield. Having reached a hill behind his army's original position, Alexios began to regroup his army from the units that had broken. He sent out messengers to rally his scattered men with news that Bryennios had been killed, showing his parade horse as evidence. At the same time, the promised Turkish reinforcements began arriving at the scene, lifting his men's morale. All the while, on the battlefield, Bryennios's army had closed around Alexios's Franks, who dismounted and offered to surrender. In the process the rebel army had become totally disordered, with units mixed and their formations disordered. Bryennios's reserves had been thrown into confusion by the Pecheneg attack, while his front lines relaxed, thinking