Trench warfare
Trench warfare occurred when a revolution in firepower was not matched by similar advances in mobility, resulting in a grueling form of warfare in which the defender held the advantage. On the Western Front in 1914–1918, both sides constructed elaborate trench, underground, and dugout systems opposing each other along a front, protected from assault by barbed wire, mines, camouflaged trapping pits, and other obstacles. The area between opposing trench lines (known as "no man's land") was fully exposed to artillery fire from both sides. Attacks, even if successful, often sustained severe casualties.
Trench warfare
Only with the advent of accurate firearms did the use of trenches as positions for the defender of a fortification become common. Elaborate trench and bunker systems were employed by the Māori to withstand British artillery barrages and bayonet charges during the New Zealand Wars in the 1840s. Trench systems were also employed in the Russo-Japanese War and American Civil War. The military usage evolved very quickly in the First World War, until whole systems of extensive main trenches, backup trenches (in case the first lines were overrun) and communication trenches had been developed, often stretching dozens of kilometres along a front without interruption, and some kilometres further back from the opponent's lines.