Old Bazaar of Skopje, the columns of the Stone Bridge, and the murals in the upper parts of the Church of Saint Panteleimon, Gorno Nerezi were all severely damaged. Some modern sources estimate this earthquake to have been a category XII (Extreme) on the Modified Mercalli intensity scale, although others believe this is an overestimate. The city severely suffered from the Great Turkish War at the end of the 17th century and consequently experienced recession until the 19th century. In 1689, the Hapsburgs seized Skopje which was already weakened by a cholera epidemic. The same day, general Silvio Piccolomini set fire to the city to end the epidemic. It is however possible that he wanted to avenge damages that Ottomans caused in Vienna in 1683. Skopje burned during two days but the general himself perished of the plague and his leaderless army was routed. The Austrian presence in Macedonia motivated Slav uprisings. Nevertheless, the Austrians left the country within the year and the Hajduks, leaders of the uprisings, had to follow them in their retreat north of the Balkans. Some were arrested by the Ottomans, such as Petar Karposh, who was impaled on Skopje Stone Bridge. After the war, Skopje was in ruins. Most of the official buildings were restored or rebuilt, but the city experienced new plague and cholera epidemics and many inhabitants emigrated. The Ottoman Turkish Empire as a whole entered in recession and political decline. Many rebellions and pillages occurred in Macedonia during the 18th century, either led by Turkish outlaws, Janissaries or Hajduks. An estimation conducted by French officers around 1836 revealed that at that time Skopje only had around 10,000 inhabitants. It was surpassed by two other towns of present-day North Macedonia: Bitola (40,000) and Štip (15–20,000). Skopje began to recover from decades of decline after 1850. At that time, the city experienced a slow but steady demographic growth, mainly due to the rural exodus of Slav Macedonians. It was also fuelled by the exodus of Muslims from Serbia and Bulgaria, which were gaining autonomy and independence from the Empire at that time. During the Tanzimat reforms, nationalism arose in the Empire and in 1870 a new Bulgarian Church was established and its separate diocese was created, based on ethnic identity, rather than religious principles. The Slavic population of the bishopric of Skopje voted in 1874 overwhelmingly, by 91% in favour of joining the Exarchate