The battle for the beaches had been won, and the narrow sliver of French coastline gained on D-Day was slowly extending. But the optimism born of the successful D-Day landings quickly began to fade as the Allies confronted a skilful enemy who was determined to throw them back into the sea. British troops became trapped in a terrible battle of attrition reminiscent of the grim battles of the First World War.