After Heraclius' victory, he marched towards Caucasian Albania and wintered there. Shahrbaraz, along with Shahin and Shahraplakan were later sent by the orders of Khosrow II to trap the forces of Heraclius. Shahin managed to rout the Byzantine army. Due to jealousy between the Sasanian commanders, Shahrbaraz hurried with his army to take part in the glory of the victory. Heraclius met them at Tigranakert and routed the forces of Shahraplakan and Shahin one after the other. After this victory, Heraclius crossed the Araxes and camped in the plains on the other side. Shahin, with the remnants of both his and Shahraplakan's armies joined Shahrbaraz in the pursuit of Heraclius, but marshes slowed them down. At Aliovit, Shahrbaraz split his forces, sending some 6,000 troops to ambush Heraclius while the remainder of the troops stayed at Aliovit. Heraclius launched a surprise night attack on the Sasanian main camp in February 625, destroying it. Shahrbaraz only barely escaped, naked and alone, having lost his harem, baggage, and men.