Conquered by the Venetians in 1420 and ceded to Austria by the Treaty of Campo Formio in 1797, Udine was united with Italy in 1866. It was the headquarters of the Italian army in 1915–17 during World War I and suffered heavy bomb damage in World War II.