 Byzantine emperor Theophilus launched an attack against Abbasid fortresses.Al-Mu'tasim sent Al-Afshin, who met and defeated Theophilus' forces at the Battle of Anzen.On his return he became aware of a serious military conspiracy which forced him and his successors to rely upon Turkish commanders and ghilman slave-soldiers (foreshadowing the Mamluk system).