World War II
In August 1942, because of the Allied defense at El Alamein, the Axis army failed to take the town.  A new Allied offensive drove the Axis west across Libya a few months later, just after the Anglo-American invasion of French North Africa forced it to join the Allies. That led to Axis defeat during the North African Campaign in May 1943.