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 from World War I. In World War II, he distinguished himself as the commander of 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 most able tank commanders of the war, and earned him the nickname der Wüstenfuchs, "the Desert Fox". Among his British adversaries he earned a strong reputation for chivalry, and the North African campaign has often been called a "war without hate". He later commanded the German forces opposing the Allied cross-channel invasion of Normandy in June 1944.
Rommel supported the Nazi seizure of power and Adolf Hitler, although his reluctant stance towards antisemitism, Nazi ideologyand level of knowledge of the Holocaust remain a matter of debate among scholars. In 1944, Rommel was implicated in the 20 July plot to assassinate Hitler. Due to 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 the Third Reich 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.