Complex sentence: Trentino remained a part of Austria-Hungary until after the end of the war in 1919, when it was annexed by Italy in the Treaty of Saint-Germain.
Split into simpler sentences: Trentino remained a part of Austria-Hungary until after the end of the war in 1919. It was annexed by Italy in the Treaty of Saint-Germain.