Serbian forces and their deployment The Šumadija Corps command met on 29 January in Priboj to discuss the plan for the attack on Vranje, and to effect the deployment of units towards the Ottoman positions. It was decided that the main axis of the attack would be the Bresnica and Moštanica heights. Serbian Army units had less than half the personnel of the Ottoman units. Šumadija Corps consisted of 7,000 fighters grouped in 12 battalions, one squadron of cavalry, and 22 cannon. Added to this number was the Volunteer Corps, which had about 1,500 fighters as well as insurgent units from the Vranje area. , the main commander of Serbian forces in the battle The First Field Battery took positions on the
Dva brata mountain, where it dug in, and took positions on the banks of the South Morava River and Vranje Road to Vladičin Han. Then, the Fourth Battery was dug in on the heights above the Bresnica River. The Third Battery, in the village of Moštanica, was held in reserve. The Belgrade Brigade was stationed between the villages of Moštanica and Bresnica. The Second Šumadijska Division, with some units of the Volunteer Corps, and the rebels, were tasked with moving towards Ottoman defensive positions on the mountain of
Pljačkovica. Second Lepenica Battalion, two companies of engineers, and two
mountain guns were transferred to the village of Drenovac. Kragujevac and Kolubara Battalions, reinforced with the rebel detachments from Poljanica, took up positions near the villages of
Beljanica and
Devotin at the base of Pljačkovica. Miner Brigade was deployed as a backup to Mazarać and Moštanica, while the Fourth Battalion of this brigade (also in reserve) was placed at the Popovo Gumno. The Second Artillery Regiment and the cavalry were located in Priboj and held in reserve. The report of the Šumadija Corps Command dated 28 January 1878, states that at the positions at Moštanica and Priboj, alongside regular army, newly arrived rebels from
Tran and Vlasotince commanded by Lieutenant Sokolov took part in the fighting. They joined the Serbians on 29 January in the fighting near the village of
Kumarevo. According to local tradition, the detachment was formed from the insurgent fighters of Vranje and its suburban areas and included: artisans, merchants, poor urban citizens, farmers, and laborers from Vranje. After its formation, the detachment was named the Kumarevo Detachment. Each of these units, especially the artillery, had to take their positions during the night (between 28 and 29 January) so that the Ottomans would be unaware of their location, and the preparations being made for an attack. Food and spare
ammunition was divided, a
field hospital was set up to accept wounded fighters, and in some units personnel was replenished. The Staff command of Šumadija Corps issued orders for preparations of the reserve positions at Mazarać in the event Serbian Army was forced to retreat.
Ottoman forces and their deployment The Ottoman defense of Vranje consisted of 15,000 fighters, 12 infantry battalions, two cavalry squadrons, eight guns, and about 3,000
Arbanasi fighters. Divisional General
Asaf Pasha was the commander of the defense of Vranje. Other commanders were Brigadier Generals Ibrahim Pasha and Esad Pasha, while the Albanian units (
Bashi-bazouks) were commanded by Dibralija. The Ottoman army was armed with the most modern
Peabody-Martini rifles and
Krupp cannons. One of the main fortifications of the Ottoman defense positions was on Pljačkovica Mountain towards which the Second Šumadija Division of the Serbian army marched. Another of their important strategic defense points was Čevrljuge hill towards which units of the First Šumadija Division and the Volunteer Corps marched. In the village of Ranutovac, and on Two Brothers Mountain, the Ottoman army had
trench fortifications. These were laid out in a pattern that allowed troops to fire from any direction and cover all the entrances to Vranje. The length of the front was about , however, the Ottomans could not cover it all because of a lack of personnel and equipment. Therefore, they occupied only certain positions, concentrating their forces. These were not well-connected positions, and communication between them was maintained using
couriers. The edge of the Ranutovac forest was fortified with trenches laid out facing the village of
Moštanica. The best fortified and connected Ottoman army position at Vranje was the line between Čevrljuge hill and Dva brata—a length of about .
Battle The Šumadija Corps Command wanted to begin the attack at noon on 29 January. However, as the Ottoman
reconnaissance revealed the preparations of the Serbian army attack, they attacked first, and at 10:30am the offensive began simultaneously from Ranutovac, Dva brata Mountain, Vranje and Čevrljuga hill. When the Ottoman units advanced to within – in front of the Serbian army lines, the commander of the First Šumadija Division issued an order for the artillery along the entire front to open fire on the Ottoman units. Under this onslaught the Serbian infantry began its attack. Fierce battles were fought continuously for about three hours, and Serbian units were halted due to strong Ottoman attacks. Around 2:00pm, Ottoman units overcame the Serbian army in the middle and took the Kamen on the right bank of the Bresnica River. Kosmaj Battalion, which defended the position, was decimated and forced to withdraw to the Moštanica cuts. The commander of the First Šumadija Division activated the reserves—two battalions (the Second Grocka and the First Danube Battalion), as well as the Third Field Battery, to halt the Ottoman army's progression and to regain lost positions. At this point, Šumadija Corps' General Jovan Belimarković took over direct command of the Serbian army and its battle positions near Vranje. Belimarković planned to collect information on whether the Ottoman attack involved all their forces or if some were left in reserve. It turned out that the Ottomans had used all their available troops. Therefore, the Serbian command decided to attack Ottoman positions at: Kumarevo,
Šuplji kamen,
Toplac, and
Katalenac near
Zlatokop bridge. At the bridge there were two entrenched camps with about 2,000 Ottoman soldiers and one cannon. played an important role in the liberation of Vranje. Rebel battalions under his command not only managed to liberate
Poljanica, but also attacked Ottoman forces from behind at
Devotin and
Grot Mountain, which demoralized them. As the main Ottoman forces were concentrated on the Čevrljuge hill, General Belimarković issued an order to the First Šumadija Division to prepare to attack and defeat them. Morava Battalion of the Rudnik Brigade was enlisted to carry out the attack. A lengthy battle between the Serbian and Ottoman artillery lasting several hours ensued, followed by a continuous onslaught by the Serbian infantry reinforced with reserve units. There were significant losses on both sides. The Ottoman army suffered frontal and lateral assaults, and around 4:00pm was forced to withdraw from its frontal positions, while the Serbian units continued to attack to prevent them from taking up new defensive positions. Units of the Second Gruža Battalion and one company of the Volunteer Corps captured the Ćviki and Čevrljuge positions. Defeating the Ottoman frontal defense outside Vranje was the Serbian army's greatest success. Serbian forces managed to take over the village of Ranutovac, while the Ottoman units from Pljačkovica attacked the Serbian positions at the village of
Struganica with the intention to encircling the First Šumadija Division. But, Serbian units repelled the attacks, forcing the Ottomans to return to their original positions. At Krstilovica, Ottoman units attacked the Second Šumadija Division which included a company of rebels from Devotin under the command Stepa Stepanović. The attack on Vranje continued on 30 January. Serbian soldiers were able to carry a cannon up
Grot Mountain overlooking the village of
Belanovce. From this location, they bombarded Ottoman positions above Devotin. Then the company, under the command of Lieutenant Stepe Stepanovic, attacked the Turkish defense units on
Goč. At the same time, they were joined by two companies of the Second Lepenica Battalion under the command of Lieutenant Stojičević. After two hours of bloody fighting, the Ottoman forces abandoned their positions on Goč and Devotin. Stojičević was killed in battle. During the day, the Šumadija Corps' command ordered the Second Division to attack and break the Ottoman defence units at Pljačkovica. Two mountain and two
light cannons were used for this attack. The guns were quickly set up near Pljačkovica. When Ottoman units noticed Serbian soldiers, they tried unsuccessfully to resist them with gunfire. Serbian units not only managed to hold their positions, but they moved closer to within about and opened fire on the Ottomans. The battle was fought for several hours, but ceased due to darkness. Belimarković issued an order that all infantry units fortify captured positions during the night of 30–31 January. Furthermore, artillery was to be placed in suitable locations to allow the successful bombardment of the enemy. The entire reserve was activated and directed to the front. As a backup, near Kumarevo two more cannons were transferred on 31 January to fire on Vranje and the rear of the Ottoman position. The commanders laid out a plan to form an easily movable detachment that could pursue the fleeing enemy not allowing him to regroup and fortify new defensive positions. Major
Radomir Putnik was appointed commander of this detachment. It consisted of the entire First Rudnik Battalion, the Volunteer Corps, with one squadron of cavalry and two guns. On the night of 30–31 January, Ottoman units withdrew from their Čevrljuge and Kamen positions, as the commander of the Turkish troops decided to take up positions between the Suvodol and Vranjska Rivers. These positions were good for the defense of Vranje, and Serbian headquarters was unaware of the Ottoman forces' withdrawal. On the morning of 31 January, the Šumadija Corps Command issued an order that the Serbian army should continue to attack with the goal of occupying and liberating Vranje. However, at the same time, Ottoman forces were trying to occupy positions on Suvodol, which led to open field fighting. The Ottomans were surprised to see Serbian forces marching towards Suvodol, which created fear and panic in their ranks. Serbian scouts opened fire before Turkish scouts managed to do the same. At the same time, Serbian artillery opened fire on the Ottoman infantry from their Kumarevo positions. This created significant losses in the Ottoman ranks, and they began to retreat towards Vranje. Without any significant resistance, other than a short engagement during the day, the Serbian army finally liberated Vranje. The first units that entered the town were from the Volunteer Corps together with rebels from the surrounding area. ==Consequences==