Question: what countries were in the triple alliance?
Answer: Triple Alliance, secret agreement between Germany, Austria-Hungary, and Italy formed in May 1882 and renewed periodically until World War I. Germany and Austria-Hungary had been closely allied since 1879.