In 1723, the Immaculata statue was erected in the place of a former gallows at Hlavná ulica ("Main Street") commemorating the plague from the years 1710–1711. This was one of the centers of the Hungarian language national revival, which published the first Hungarian language periodical called the Magyar Museum in Hungary in 1788. The city's walls were demolished step by step from the early 19th century to 1856; only the Executioner's Bastion remained with few parts of the wall. The city became the seat of its own bishopric in 1802. The city's surroundings became a theater of war again during the Revolutions of 1848, when the Imperial cavalry general Franz Schlik defeated the Hungarian army on December 8, 1848, and January 4, 1849. The city was captured by the Hungarian army on February 15, 1849, but the Russian troops drove them back on June 24, 1849.