 The caliph's vanguard under Ashinas reached Ancyra, which had been abandoned by its inhabitants, on 26 July.Afshin arrived there a few days later, and united with the main Abbasid army, which now turned south towards Amorium.Afshin commanded the rear guard, while Ashinas was once again in front, and the caliph in the middle.