By early 1918, the division, as with numerous others in the BEF at the time, was below-strength due to losses in 1917 and the tired survivors were given a quiet part of the front line to hold. Unfortunately, the Germans had by chance chosen that location as one of the focal points for their Kaiserschlacht, the last great German assault on the West in March 1918, intended to win the war before the American Expeditionary Force could arrive in great numbers. The neighbouring Portuguese Expeditionary Corps bore the brunt of the initial German assault. When Portuguese troops started to retire from their positions and ran across the 51st's positions, they were mistaken for Germans in the poor visual conditions and the 51st opened fire on them, causing casualties. The under-strength 51st was also pushed back, but eventually held as the German offensive ebbed and flowed. The remains of the division survived the Spring battles and received replacements in time for Haig's Allied offensives of August 1918 onward, which saw the war coming to an end on 11 November 1918.