In 1807, armed forces led by Petar I Petrović-Njegoš along with 1,000 Russian troops attempted to take Nikšić, but Ottoman forces prevailed. On July 18, 1876, the Principality of Montenegro defeated Ottoman forces in the Battle of Vučji Do in the western edge of the municipality of Nikšić. On 27 August 1877, the rest of Nikšić was taken by the Montenegrin Army under the command of Vojvoda Mašo Vrbica after a 47-day siege against the Ottoman authorities. English archaeologist Arthur Evans witnessed the negotiations between Nikola I of Montenegro and the remaining Bosniaks (Muslims) after the siege, and subsequently wrote about them in his diary: