While being a member of the Triple Alliance which consisted of Italy, Austria-Hungary and Germany, Italy did not declare war in August 1914, arguing that the Triple Alliance was defensive in nature and therefore Austria-Hungary's aggression did not oblige Italy to take part. Moreover, Austria-Hungary omitted to consult Italy before sending the ultimatum to Serbia and refused to discuss compensation due according to article 7 of the Alliance. Italy had a longstanding rivalry with Austria-Hungary, dating back to the Congress of Vienna in 1815 after the Napoleonic Wars, which granted several regions on the Italian peninsula to the Austrian Empire.