Before the outbreak of World War One Italy generally allied with Germany and Austria Hungry as it was an official member of the Triple Alliance.
The Italians had enhanced its diplomatic relationships with Great Britain and France before the First World War Only a few days after the outbreak of World War One
the Italian Government led by Antonio Salandra would not commit any Italian Troops maintaining the Triple Alliance had only a defensive stance and that Austria-Hungry had been the aggressor of the First World War. Italy refused to join the Germans and Austria Hungry and Italy entered the War on the allied side on May 15th 1917.
The Italians suffered very heavy losses and made very little progress with continuous Attacks on Austria on the start of the Italians campaign. The Italians success came in October 1918 with the Italians deep in Austrian Territory and fighting finally ended on November 3rd 1918.