The Allies failed to accomplish their objectives for the first day, but gained a tenuous foothold that they gradually expanded when they captured the port at Cherbourg on 26 June and the city of Caen on 21 July. A failed counterattack by German forces on 8 August left 50,000 soldiers of the 7th Army trapped in the Falaise pocket. The Allies launched a second invasion from the Mediterranean Sea of southern France (code-named Operation Dragoon) on 15 August, and the Liberation of Paris followed on 25 August. German forces retreated east across the Seine on 30 August 1944, marking the close of Operation Overlord.