Although Egypt was still considered an Ottoman vassal, the Ottoman Empire totally lost control in the 1880s to the British Empire. By the 19th century, Ottoman control of the countries west of Egypt was also weakened. Algeria was lost in 1830 [13] and Tunis was lost in 1881, both to France.[14] Libya, the last Ottoman territory in Africa was lost to Italy at the end of the Italo-Turkish War in 1911.[15]