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. This included all of
French North Africa. On 10 June,
Italy aligned itself with
Nazi Germany and declared war upon
France and the
United Kingdom. Italian leader
Benito Mussolini explicitly outlined in his declaration of war that this did not involve the war against
Kingdom of Egypt, saying "Italy does not intend to drag into the conflict other peoples bordering her on land or on sea". British forces (along with Indian and
Rhodesian troops) based in Egypt were initially ordered to take defensive measures, but to avoid provocation as much as possible. However, on 11 June the British started launching 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. By 8 August, Mussolini ordered the Tenth Army to
invade Egypt. 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. After German defeat in the Battle of Britain, the invasion never took place. On 8 September, the Italians – despite being hampered by a lack of transport, low levels of training among officers, and the state of its supporting equipment – were ordered to invade Egypt the following day. The 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 Italians and then fall 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. By 16 September, the Italian force had advanced to
Maktila, around west of Mersa Matruh, where they halted due to supply problems. Despite Mussolini urging them to carry on, Graziani ordered his men to dig in around
Sidi Barrani, and fortified camps were established in forward locations; additional troops were also positioned behind the main force. In response to the dispersed Italian camps, the British planned a limited five-day attack,
Operation Compass, to strike at these fortified camps one by one. The British Commonwealth force, totalling 36,000 men, attacked the forward elements of the 10-division-strong Italian army on 9 December. Following their initial success, the forces of Operation Compass pursued the retreating Italian forces. In January, the small port at
Bardia was taken, soon followed by the seizure of the fortified port of
Tobruk. Some 40,000 Italians were captured in and around the two ports, with the remainder of the Tenth Army retreating along the coast road back to
El Agheila.
Richard O'Connor sent the 7th Armoured Division across the desert with a small reconnaissance group. It reached
Beda Fomm some ninety minutes before the Italians, cutting off their retreat. Although they tried desperately to overcome the British force at the
Battle of Beda Fomm, the Italians were unable to break through, and the remnants of the retreating army surrendered. Over ten weeks Allied forces had destroyed the Italian Tenth Army and reached El Agheila, taking 130,000 prisoners of war in the process. Mussolini requested help from his German allies, while the Italian
Comando Supremo ("high command") speedily sent several large motorized and armoured forces to protect their colonies in
North Africa. This greatly expanded reinforcement included the soon-to-be-renowned
Ariete Armoured division under General
Ettore Baldassarre. Meanwhile, the Germans hastily assembled a motorized force, whose lead elements arrived in
Tripoli in February. This relatively small expeditionary force, termed the
Afrika Korps by
Adolf Hitler, was placed under the command of
Erwin Rommel. His orders were to reinforce the Italians and block Allied attempts to drive them out of the region. However, the initial commitment of only one panzer division and subsequently, no more than two panzer and one motorized divisions, indicated the limited extent of German involvement and commitment to this theatre of operations. The bulk of the reinforcements were Italian and therefore it was up to the Italians to do the bulk of the fighting. The forward Allied force – now named
XIII Corps – adopted a defensive posture and over the coming months was built up, before most of its veteran forces were
redeployed to Greece to counter the German invasion there. In addition, the 7th Armoured Division was withdrawn to the Nile delta. The veteran forces were replaced by inexperienced newcomers, ill-equipped to face German armour. , April 1941. Although Rommel had been ordered to simply hold the line, an
armoured reconnaissance soon became a full-fledged offensive from El Agheila in March. In March–April, Allied forces were forced back and leading general officers captured. The
Australian 9th Infantry Division fell back to the fortress port of Tobruk, and the remaining British and
Commonwealth forces withdrew a further east to the Libyan–Egyptian border. With
Tobruk under siege by the main Italian-German force, a small battlegroup continued to press eastwards. Capturing Fort Capuzzo and Bardia in passing, it then advanced into Egypt, and by the end of April it had taken Sollum and the tactically important
Halfaya Pass. Rommel garrisoned these positions, reinforcing the battle-group and ordering it onto the defensive. Though isolated on land, Tobruk's garrison continued to receive supplies and replacements, delivered by the
Royal Navy at night. German and Italian forces did not have the strength or training to take the fortress. This created a supply problem for his forward units. His front-line positions at Sollum were at the end of an extended supply chain that stretched back to Tripoli and had to bypass the coast road at Tobruk. Further, he was constantly threatened with a breakout of the British forces at Tobruk. Without Tobruk in Axis hands, further advances into Egypt were impractical. The Allies launched a small-scale counter-attack called
Operation Brevity in an attempt to push Axis forces off the key passes at the border, with some initial success. However they could not hold the advance positions and followed
Brevity up with a much larger-scale offensive,
Operation Battleaxe intended to relieve the siege at Tobruk, but this operation also failed. Following the failure of Operation Battleaxe, Archibald Wavell was relieved of command and replaced by
Claude Auchinleck. The
Western Desert Force was reinforced with a second corps,
XXX Corps, with the two corps forming the
Eighth Army. Eighth Army was made up of army forces from the Commonwealth nations, including the
British Army, the
Australian Army, the
Indian Army, the
New Zealand Army, the
South African Army, and the
Sudan Defence Force. There was also a brigade of
Free French under
Marie-Pierre Koenig. The new formation launched a new offensive,
Operation Crusader, in November. After a see-saw battle, the
70th Division garrisoning Tobruk was relieved and the Axis forces were forced to fall back. By January 1942, the
front line was again at El Agheila. After receiving supplies and reinforcements from Tripoli, the Axis attacked again, defeating the Allies in the
Battle of Gazala in June and
capturing Tobruk. The Axis forces drove the Eighth Army back over the Egyptian border, but their advance was stopped in July only from
Alexandria in the
First Battle of El Alamein. Of great significance, on 29 June reports of British military operations in North Africa sent to Washington by the US military attaché in Cairo,
Bonner Fellers, no longer used the compromised
"Black Code" which the Axis forces had been reading, so the Axis could no longer learn of British "strengths, positions, losses, reinforcements, supply, situation, plans, morale etc" as they had since 1940. General Auchinleck, although he had checked Rommel's advance at the First Battle of El Alamein, was replaced by General
Harold Alexander. Lieutenant-General
William Gott was promoted from XIII Corps commander to command of the entire Eighth Army, but he was killed when his aircraft was intercepted and shot down over Egypt. He was replaced by Lieutenant-General
Bernard Montgomery. At the end of June, Axis forces made a second attempt to break through the Allied defences at El Alamein at
Alam Halfa, but were unsuccessful. After a lengthy period of build-up and training, the Eighth Army launched a major offensive, decisively defeating the Italian-German army in the
Second Battle of El Alamein in late October, driving Axis forces west and capturing Tripoli in mid-January 1943. By February, the Eighth Army was facing the Italian-German
Panzer Army near the
Mareth Line and came under command of Alexander's
18th Army Group for the concluding phase of the war in North Africathe
Tunisia campaign. ==Operation Torch==