In 894, the Magyars and Pechenegs were drawn into the wars between the Byzantines and the Bulgarian Empire.