The British had based forces in Egypt since 1882 but these were greatly reduced by the terms of the Anglo-Egyptian Treaty of 1936. The small British and Commonwealth force garrisoned the Suez Canal and the Red Sea route. The canal was vital to British communications with its Far Eastern and Indian Ocean territories. In mid-1939, Lieutenant-General Archibald Wavell was appointed General Officer Commanding-in-Chief (GOC-in-C) of the new Middle East Command, over the Mediterranean and Middle East theatres. Until the Franco-Axis armistice, French divisions in Tunisia faced the Italian 5th Army on the western Libyan border. In Libya, the Royal Army had about 215,000 men and in Egypt, the British had about 36,000 troops and another 27,500 men training in Palestine.