In a secret agreement signed on 26 April in London, Italy agreed to leave the Triple Alliance, join the forces of the Triple Entente, and declare war on Austria-Hungary and Germany.