It followed the First Battle of El Alamein , which had stalled the Axis advance into Egypt , after which , in August 1942 , Lieutenant-General Bernard Montgomery had taken command of the British Eighth Army from General Claude Auchinleck .
Thereafter , Lieutenant-General Bernard Montgomery took command of the British Eighth Army in August 1942 .