Trench warfare was the result of a mismatch between the weapons of 1914 and the tactics generals had inherited. The Second Industrial Revolution had given armies the Machine Gun, quick-firing artillery, and magazine rifles, all of which favored defenders, while attackers still had to cross open ground on foot. After the German invasion of France was halted at the Marne in September 1914, both sides dug in to shelter from this firepower. Each tried to outflank the other until the lines reached the sea, and by the end of the year a continuous belt of earthworks ran some 700 kilometers from the Belgian coast to Switzerland. This was the Western Front.
A trench system was several lines deep: a front line, support and reserve trenches behind it, and communication trenches linking them, all laid out in zigzags so that a shell burst or an intruder could not sweep a whole section. Barbed wire and machine-gun posts protected the front. Between the armies lay no-man's-land, a strip of craters and wire that might be only a few dozen meters wide.
To break through, commanders bombarded the enemy line with artillery for hours or days and then sent infantry forward. The shelling rarely destroyed deep dugouts or wire, and it gave away the point of attack; surviving defenders emerged to cut the attackers down, and reserves arrived by rail faster than attackers could advance on foot. The battles of Verdun and the Somme in 1916 each cost hundreds of thousands of casualties for a few miles of ground. Strategy became attrition: wearing the enemy down until his men and supplies ran out.
Daily life in the trenches mixed boredom and terror. Soldiers endured mud, rats, lice, the stench of unburied dead, and constant shelling, which caused the majority of casualties. Standing in water produced trench foot, and prolonged bombardment broke men psychologically in a condition then called shell shock.
Both sides sought technical answers to the deadlock. Poison Gas was introduced in 1915, Tanks in 1916, and Military Aircraft were used to spot for the guns. None was decisive alone. Movement returned in 1918, when better coordination of artillery, infantry, tanks, and aircraft, and the exhaustion of the German army, finally cracked the lines.
Trench fighting also occurred at Gallipoli and on the Italian front, though the vast eastern front stayed more fluid. Its legacy was a generation's disillusionment, expressed in war poetry and memoirs, and a determination among military planners to restore mobility, realized in the Blitzkrieg of World War II.