The fighting for Sofia within the framework of the Russo-Turkish War (1877-1878) began on December 25, 1877. On January 3, 1878, the city's commandant Osman Nuri Pasha began to withdraw from Sofia. His plans to set the city on fire were thwarted..