In the summer of 1876 he was appointed commander-in-chief of the Servian army, but on entering Turkey was driven back by Osman Pasha, who followed him into Servia, defeating him at Zayechar and Yavor in July, and the campaign in Servia proved disastrous.
Yavor Brigade Col.
The Yavor Brigade was temporarily held back facing the Serbo - Bosnian frontier.
The Ibar Force, and eventually the Yavor Brigade also, were to clear the Sanjak of Novibazar of Turkish garrisons and Albanian bands.
The few Turkish troops available were forced, under pressure from the Montenegrins and the Serbian Yavor Brigade, to concentrate at Plevlye; there they were attacked on the 29th and driven over the Austrian border.