At the outbreak of the war, the 7th Army defended the French border and manned the Westwall in the Upper Rhine region. At the start of the Campaign in the West in 1940, the 7th Army was part of General Wilhelm Ritter von Leeb's Army Group C. On 14 June 1940, Army Group C attacked the Maginot Line after it had been cut off by armored units of the XXXXI Panzer Corps. Lead elements of the 7th Army reached the area in front of Colmar and later pursued parts of the French 2nd Army Group into Lorraine.