The North African campaign of the Second World War took place in North Africa from 10 June 1940 to 13 May 1943. It included campaigns fought in the Libyan and Egyptian deserts (Western Desert campaign, also known as the Desert War) and in Morocco and Algeria (Operation Torch), as well as Tunisia (Tunisia campaign).

The campaign was fought between the Allies and the Axis Powers. The Allied war effort was dominated by the British Commonwealth and exiles from German-occupied Europe. The United States officially entered the war in December 1941 and began direct military assistance in North Africa on 11 May 1942.

North African campaign

Fighting in North Africa started with the Italian declaration of war on 10 June 1940. On 14 June, the British Army's 11th Hussars (assisted by elements of the 1st Royal Tank Regiment, 1st RTR) crossed the border from Egypt into Libya and captured the Italian Fort Capuzzo. This was followed by an Italian counter-offensive into Egypt and the capture of Sidi Barrani in September and its recapture by the British in December following a British Commonwealth counteroffensive, Operation Compass. During Operation Compass, the Italian 10th Army was destroyed and the German Afrika Korps—commanded by Erwin Rommel, who later became known as "The Desert Fox"—was dispatched to North Africa in February 1941 during Operation Sonnenblume to reinforce Italian forces in order to prevent a complete Axis defeat.

North African campaign

A fluctuating series of battles for control of Libya and regions of Egypt followed, reaching a climax in the Second Battle of El Alamein in October 1942 when British Commonwealth forces under the command of Lieutenant-General Bernard Montgomery inflicted a decisive defeat on Rommel's Afrika Korps and forced its remnants into Tunisia. After the Anglo-American landings (Operation Torch) in North-West Africa in November 1942, and subsequent battles against Vichy France forces (who then changed sides), the Allies encircled several hundred thousand German and Italian personnel in northern Tunisia and finally forced their surrender in May 1943.

North African campaign

Information gleaned via British Ultra code-breaking intelligence proved critical to Allied success in North Africa. Victory for the Allies in this campaign immediately led to the Italian campaign, which culminated in the downfall of the fascist government in Italy and the elimination of Germany's main European ally.

The North Africa campaign saw numerous atrocities and abuses by both German and Italian forces towards prisoners of war and local Jewish, Berber, and Arab populations.

Western Desert campaign

On 10 May 1940, the Wehrmacht started the Battle of France (or Westfeldzug). Six weeks later, France surrendered. The Armistice at Compiègne took place on 22 June 1940 leaving the Vichy government in control of French territory not occupied by Germany.

On 10 June, the Kingdom of Italy aligned itself with Nazi Germany and declared war upon France and the United Kingdom. British forces (along with Indian and Rhodesian troops) based in Egypt were ordered to take defensive measures, but to avoid provocation as much as possible. However, on 11 June they began a series of raids against Italian positions in Libya. Following the defeat of France on 25 June, Italian forces in Tripolitania—facing French troops based in Tunisia—redeployed to Cyrenaica to reinforce the Italian Tenth Army. This, coupled with the steadily degrading equipment of the British forces, led General Archibald Wavell to order an end to the raids and place the defence of the Egyptian border with a small screening force.

Italian dictator Benito Mussolini ordered the Tenth Army to invade Egypt by 8 August. Two days later, no invasion having been launched, Mussolini ordered Marshal Graziani that, the moment German forces launched Operation Sea Lion to invade Great Britain, he was to attack. Beaten in the Battle of Britain, the German invasion never took place. On 8 September, the Italians—hampered by a lack of transport, enfeebled by the low level of training among officers, and weakened by the state of its supporting equipment—were ordered to invade Egypt the following day. The battle plan was to advance along the coastal road while limited armoured forces operated on the desert flank.

To counter the Italian advance, Wavell ordered his screening forces to harass the advancing Italians, falling back towards Mersa Matruh, where the main British infantry force was based. Positioned on the desert flank was the 7th Armoured Division, which would strike at the flank of the Italian force.