The Bulgarian army under the command of Nestoritsa was defeated by the Byzantines led by the governor of Thessalonica Theophylactus Botaniates and it was unable to divert the main Byzantine forces who were attacking the Bulgarian ramparts between the Belasitsa and Ograzhden mountains .
DET ADJ NOUN ADP DET NOUN ADP PROPN AUX VERB ADP DET PROPN VERB ADP DET NOUN ADP PROPN PROPN PROPN CCONJ PRON VERB ADJ PART VERB DET ADJ ADJ NOUN PRON AUX VERB DET ADJ NOUN ADP DET PROPN CCONJ PROPN NOUN .