World War II: German general Erwin Rommel attacks Tobruk.

The siege of Tobruk lasted for 241 days in 1941, after Axis forces advanced through Cyrenaica from El Agheila in Operation Sonnenblume against Allied forces in Libya, during the Western Desert Campaign (19401943) of the Second World War. In late 1940, the Allies had defeated the Italian 10th Army during Operation Compass (9 December 1940 9 February 1941) and trapped the remnants at Beda Fomm. During early 1941, much of the Western Desert Force (WDF) was sent to the Greek and Syrian campaigns. As German troops and Italian reinforcements reached Libya, only a skeleton Allied force remained, short of equipment and supplies. The defenders quickly became known as the Rats of Tobruk.

Operation Sonnenblume (6 February 25 May 1941), forced the Allies into a retreat to the Egyptian border. A garrison, consisting mostly of the 9th Australian Division (Lieutenant-General Leslie Morshead) remained at Tobruk, to deny the port to the Axis, while the WDF reorganised and prepared a counter-offensive. The Axis siege of Tobruk began on 10 April, when the port was attacked by a force under Generalleutnant Erwin Rommel and continued during three relief attempts, Operation Brevity (1516 May), Operation Battleaxe (1517 June) and Operation Crusader (18 November 30 December). The occupation of Tobruk deprived the Axis of a supply port closer to the EgyptLibya border than Benghazi, 560 mi (900 km) west of the Egyptian frontier, which was within the range of RAF bombers; Tripoli was 930 mi (1,500 km) to the west in Tripolitania.

The siege diverted Axis troops from the frontier and the Tobruk garrison repulsed several Axis attacks. The port was frequently bombarded by artillery, dive-bombers and medium bombers, as the RAF flew defensive sorties from airfields far away in Egypt. Allied naval forces, such as the British Mediterranean Fleet (including the Inshore Squadron) ran the blockade, carrying reinforcements and supplies in and wounded and prisoners out. On 27 November, Tobruk was relieved by the Eighth Army (which controlled British and other Allied ground forces in the Western Desert from September 1941) in Operation Crusader.

Johannes Erwin Eugen Rommel (pronounced [ˈɛʁviːn ˈʁɔməl] (listen)) (15 November 1891 – 14 October 1944) was a German general during World War II. Popularly known as the Desert Fox (German: Wüstenfuchs, pronounced [ˈvyːstn̩ˌfʊks] (listen)), he served as field marshal in the Wehrmacht (armed forces) of Nazi Germany, as well as serving in the Reichswehr of the Weimar Republic, and the army of Imperial Germany.

Rommel was a highly decorated officer in World War I and was awarded the Pour le Mérite for his actions on the Italian Front. In 1937, he published his classic book on military tactics, Infantry Attacks, drawing on his experiences in that war. In World War II, he commanded the 7th Panzer Division during the 1940 invasion of France. His leadership of German and Italian forces in the North African campaign established his reputation as one of the ablest tank commanders of the war, and earned him the nickname der Wüstenfuchs, "the Desert Fox". Among his British adversaries he had a reputation for chivalry, and his phrase "war without hate" has been uncritically used to describe the North African campaign. A number of historians have since rejected the phrase as myth and uncovered numerous examples of war crimes and abuses towards both enemy soldiers and native populations in Africa during the conflict. Other historians note that there is no clear evidence Rommel was involved or aware of these crimes, with some pointing out that the war in the desert, as fought by Rommel and his opponents, still came as close to a clean fight as there was in World War II. He later commanded the German forces opposing the Allied cross-channel invasion of Normandy in June 1944.

With the Nazis gaining power in Germany, Rommel gradually came to accept the new regime, with historians giving different accounts on the specific period and his motivations. He was a supporter of Adolf Hitler, at least until near the end of the war, if not necessarily sympathetic to the party and the paramilitary forces associated with it. In 1944, Rommel was implicated in the 20 July plot to assassinate Hitler. Because of Rommel's status as a national hero, Hitler desired to eliminate him quietly instead of immediately executing him, as many other plotters were. Rommel was given a choice between committing suicide, in return for assurances that his reputation would remain intact and that his family would not be persecuted following his death, or facing a trial that would result in his disgrace and execution; he chose the former and committed suicide using a cyanide pill. Rommel was given a state funeral, and it was announced that he had succumbed to his injuries from the strafing of his staff car in Normandy.

Rommel has become a larger-than-life figure in both Allied and Nazi propaganda, and in postwar popular culture, with numerous authors considering him an apolitical, brilliant commander and a victim of Nazi Germany, although this assessment is contested by other authors as the Rommel myth. Rommel's reputation for conducting a clean war was used in the interest of the West German rearmament and reconciliation between the former enemies – the United Kingdom and the United States on one side and the new Federal Republic of Germany on the other. Several of Rommel's former subordinates, notably his chief of staff Hans Speidel, played key roles in German rearmament and integration into NATO in the postwar era. The German Army's largest military base, the Field Marshal Rommel Barracks, Augustdorf, is named in his honour. The longtime mayor of Stuttgart, Germany and namesake of Stuttgart Airport, Manfred Rommel, was his son.