The Third Italian War of Independence saw a battle between Austrian and Italian troops, during the latter's advance towards Trento, fought in town through the night of 23-24 July 1866. In 1894 Levico was elevated to the rank of city ("Stadtgemeinde"), by Imperial-Royal Decree, under Franz Joseph I of Austria, and in 1896 it was reached by the Valsugana railway.