During the Russo-Turkish War of 1877–78, Suleiman Pasha threatened to burn the city in defence, but the foreign diplomats Leandre Legay, Vito Positano, Rabbi Gabriel Almosnino and Josef Valdhart refused to leave the city thus saving it. Many Bulgarian residents of Sofia armed themselves and sided with the Russian forces. Sofia was relieved (see Battle of Sofia) from Ottoman rule by Russian forces under Gen. Iosif Gurko on 4 January 1878. It was proposed as a capital by Marin Drinov and was accepted as such on 3 April 1879. By the time of its liberation the population of the city was 11,649.