The Triple Alliance was a defensive military alliance between Germany, Austria-Hungary, and Italy. It was formed on 20 May 1882 and renewed periodically until it expired in 1915 during World War I. Germany and Austria-Hungary had been closely allied since 1879. Italy was looking for support against France shortly after it lost North African ambitions to the French. Each member promised mutual support in the event of an attack by any other great power. The treaty provided that Germany and Austria-Hungary were to assist Italy if it was attacked by France without provocation. In turn, Italy would assist Germany if attacked by France without provocation. In the event of a war between Austria-Hungary and Russia, Italy promised to remain neutral. After the Austro-Hungarian empire and Germany declared war without first being attacked by other nations, Italy did not take part in World War I on the side of the Central Powers and later joined on the side of the Allied Powers.
When the treaty was renewed in February 1887, Italy gained an empty promise of German support of Italian colonial ambitions in North Africa in return for Italy's continued friendship. Austria-Hungary had to be pressured by German chancellor Otto von Bismarck into accepting the principles of consultation and mutual agreement with Italy on any territorial changes initiated in the Balkans or on the coasts and islands of the Adriatic and Aegean seas. Italy and Austria-Hungary did not overcome their basic conflict of interest in that region despite the treaty. In 1891, attempts were made to join Britain to the Triple Alliance, which, though unsuccessful, were widely believed to have succeeded in Russian diplomatic circles.