After Austria's defeat in the Austro-Prussian War (1866), in which Italy sided with Prussia over territorial promise of Venetia, ownership of the Brenner Railway south of Ahl-am-Etsch was transferred to Italy.