In 1895, Ljubljana, then a city of 31,000, suffered a serious earthquake measuring 6.1 degrees Richter and 8–9 degrees MCS. Some 10% of its 1,400 buildings were destroyed, although casualties were light. During the reconstruction that followed, a number of districts were rebuilt in the Vienna Secession style. Public electric lighting appeared in the city in 1898. The rebuilding period between 1896 and 1910 is referred to as the "revival of Ljubljana" because of architectural changes from which a great deal of the city dates back to today and for reform of urban administration, health, education and tourism that followed. The rebuilding and quick modernisation of the city were led by the mayor Ivan Hribar.