Linienwall

The construction of the Linienwall was begun by order of Emperor Leopold I in 1704 to protect against attacks by the Turks and the Kuruc (a group of anti-Habsburg rebels).

It was part of a defensive line that followed the Austro-Hungarian border as delineated by the Danube, March, and Leitha rivers as well as by Lake Neusiedl.

The most important arterial roads entered the city via drawbridges and gates; each of these locations additionally included a custom house where a toll, the Liniengeld was charged.

On June 11, 1704 the Linienwall helped a group of 2,600 Viennese residents along with 150 students repel an attack by the Kuruc.

One consequence of this was the establishment of a great number of restaurants and hotels in the Neulerchenfeld (now part of the 16th District) right outside of the wall (dubbed the "Holy Roman Empire’s biggest pub") who took advantage of the lower taxes to sell food and drinks at a significantly cheaper rate.

As railway and road construction kept pace with this growth, eventually the space occupied by the fortifications was replaced with transportation facilities.

Painting of the Linienwall fortification (by August Stefan Kronstein)
The outline of the Linienwall on a 1790 map; part of the first comprehensive survey of the lands of the Habsburg monarchy
Section of the Linienwall by the Vienna S-Bahn near Landstraßer Gürtel