Another fact that helped the formation of the League was the evident inefficiency of the Ottoman army. The Ottomans were at war with Italy for a year (29 September 1911 to 18 October 1912) over Libya after Italy had launched an invasion of Tripolitania. Although the Italians made little progress and Ottoman resistance, aided by the Libyans, proved stiffer than expected, the war exhausted the Ottoman state. In addition, the Italian occupation of the Greek-inhabited Dodecanese Islands served as a warning for Greece of the consequences of staying out from a future war against the Ottomans.