Italy participated in World War I as an ally of Great Britain, France, and Russia against the Central Powers. Almost all of Italy's fighting was on the Eastern border, near Austria. After the "Caporetto defeat", Italy thought they would lose the war. But, in 1918, the Central Powers surrendered, and Italy gained the Trentino-South Tyrol, which once was owned by Austria.