He was thereafter appointed as the head of an army of 12,000 soldiers. He then made a counter-attack against the Turks, and successfully defeated them, killing their ruler Bagha Qaghan (known as Shawa/Sava/Saba in Sasanian sources).[2] After some time, Bahram was defeated by the Byzantine Empire in a battle on the banks of the Aras River. Hormizd IV, who was jealous of Bahram Chobin, used this defeat as an excuse to dismiss Bahram Chobin from his office, and had him humiliated.[5][2]