 When facing opponents such as the Vandals or the Avars with strong armoured cavalry, the cavalry were deployed behind the armoured infantry who were sent ahead to engage the enemy.The infantry would attempt to open a gap in the enemy formation for the cavalry to charge through.Centuries of warfare enabled the Byzantines to write many treatises on the protocols of war which eventually contained strategies for dealing with traditional enemies of the state.