In 1881, France occupied the Ottoman Beylik of Tunisia, with the excuse that Tunisian troops had crossed the border into their colony of Algeria, which also formerly belonged to the Ottoman Empire until 1830. A year later, in 1882, the British Empire occupied the Ottoman Khedivate of Egypt, with the pretext of giving military assistance to the Ottomans for putting down the Urabi Revolt (Britain later declared Egypt a British protectorate on 5 November 1914, in response to the Ottoman government's decision to join World War I on the side of the Central Powers.[23]) It is worth noting that the Ottoman government had frequently declared the tax revenues from Egypt as a surety for borrowing loans from British and French banks.[2][3] The Ottoman government had earlier leased Cyprus to Britain in 1878, in exchange for British support at the Congress of Berlin in the same year (Cyprus was later annexed by Britain on 5 November 1914, for the same aforementioned reason regarding the Ottoman participation in World War I.[24]) By obtaining Cyprus and Egypt, Britain gained an important foothold in the East Mediterranean and control over the Suez Canal; while France increased its lands in the West Mediterranean coast of North Africa by adding Tunisia to its empire as a French protectorate.