In May 1940, after several months of relative inactivity, the German Army launched its attack in the west which resulted in the BEF being split up from the French Army, evacuated from Dunkirk. Due to Montgomery's strict training regime, the 3rd Division suffered comparatively few casualties and earned a reputation as one of the best British divisions in France. During the evacuation Montgomery was promoted to temporary command of II Corps and Brigadier Kenneth Anderson took temporary control of the division before, in July, Major General James Gammell assumed command.