sentences:  In the 19th century, it was used as barracks, storage depot and dungeon before being abandoned as a military outpost in 1861.Hohensalzburg Fortress was refurbished from the late 19th century onwards and became a major tourist attraction with the Festungsbahn funicular railway, opened in 1892, leading up from the town to the Hasengrabenbastei.It stands today as one of the best preserved castles in Europe.