In 1809, however, the French troops (under Napoleon) destroyed the city walls, leaving, against a large sum collected by the citizens, only one eastern gate (which was pulled down to make way for traffic some decades later), and the small stretch in the west which is now all that is left of the once grand fortifications. In 1863, the railway connection to St. Veit an der Glan boosted the city's economy and so did the building of the Vienna-Trieste railway that brought to the city an imposing central station (destroyed in World War II) and solidified Klagenfurt as the centre of the region.