Egypt (1939–1941)
On 15 June 1939, Wilson was appointed general officer commanding (GOC) of the British Troops in Egypt, with the rank of lieutenant-general, in which role he was also responsible for giving military advice for a range of countries from Abyssinia to the Persian Gulf. He made his HQ in Cairo and undertook successful negotiations with the Egyptian government at their summer quarters in Alexandria. The Treaty of 1936 called for the Egyptian army to fight under British command in the event of war and to supplement the limited force then at his disposal – an armoured division then being formed (later to be the 7th Armoured Division) and eight British battalions. He concentrated his defensive forces at Mersa Matruh some 100 miles from the border with Libya.
Early in August, Sir Archibald Wavell was appointed commander-in-chief of the Middle East Command, and he sent reinforcements which had been sought by Wilson, initially the 4th Indian Infantry Division and advanced elements of 6th Australian Division and, as the buildup at Mersa Matruh continued, Richard O'Connor and his staff at 7th Infantry Division in Palestine were moved to Egypt to reinforce Wilson's command structure there. O'Connor's HQ, initially designated British 6th Infantry Division, was activated in November and became responsible for the troops at Mersa Matruh. It was redesignated Western Desert Force in June 1940.
On 10 June 1940, Italian dictator Benito Mussolini declared war. Wilson's forces immediately invaded Libya. However, their advance was reversed when on 17 June France sought an armistice and the Italians were able to move their forces from the Tunisian border in the West and reinforce with 4 divisions those that opposed Wilson in the East. The Italian forces invaded Egypt in September 1940, and advanced some 60 miles (97 km) to occupy Sidi Barrani. Wilson was facing very superior forces. He had 31,000 troops to the Italians' 80,000, 120 tanks against 275, and 120 artillery pieces against 250. He realised that the situation was one where the traditional text books would not provide a solution. As with other 1940s commanders he had been well-schooled in strategy, and in thorough secrecy; he planned to disrupt the advance of the superior forces by attacking their extended lines at the right spots. After a conference with Anthony Eden and Wavell in October and rejecting Wavell's suggestion for a two-pronged attack, Wilson launched Operation Compass on 7 December 1940. The strategy was outstandingly successful and very quickly the Italian forces were cut in half.
While Operation Compass continued successfully in 1941 and resulted in the complete defeat of the Italian Army in North Africa, Wilson, who was already highly regarded by his First World War regimental colleague and now Secretary of State for War, Anthony Eden, had also won the confidence of Churchill himself. In a broadcast Churchill said, "General Wilson, who actually commands the Army of the Nile, was reputed to be one of our finest tacticians, and few will now deny him that quality."
Wilson was recalled to Cairo in February 1941 where he was offered and accepted the position of Military Governor of Cyrenaica.