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. This led to Axis defeat in the North African Campaign May 1943.