In the Battle of Vučji Do Montenegrins inflicted major defeat to the Ottoman Army under Grand Vizier Ahmed Muhtar Pasha. In the aftermath of the Russian victory against the Ottoman Empire in the Russo-Turkish War of 1877–1878, the major powers restructured the map of the Balkan region. The Ottoman Empire recognized independence of Montenegro in the Treaty of Berlin in 1878.