A historical treaty in effect from May 20th, 1882
From Wiki :
The Triple Alliance was the military alliance among Germany, Austria–Hungary, and Italy.
Each member promised mutual support in the event of an attack by any other great power, or for Germany and Italy, an attack by France alone.
In a supplementary declaration, Italy specified that its undertakings could not be regarded as being directed against Great Britain.