Once they were stopped in the Battle of the Marne the Germans and the Allied troops started to build trenches.
This battle stopped the Germans from going through Belgium to get to france.
They started digging the trenches on the Western Front on both sides starting on Sept 15, 1914