Hohensalzburg castle was refurbished from the late 19th century onwards and became a major tourist attraction with the Festungsbahn funicular railway, opened in 1892,[REF] leading up from the town to the Hasengrabenbastei.
During the early 20th century it was used as a prison, holding Italian prisoners of war during World War I and Nazi activists (before the Anschluss with Germany) in the 1930s.