The New Zealand Wars (Māori: Ngā pakanga o Aotearoa) took place from 1845 to 1872 between the New Zealand colonial government and allied Māori on one side, and Māori and Māori-allied settlers on the other. Though the wars were initially localised conflicts triggered by tensions over disputed land purchases (by European settlers from Māori), they escalated dramatically from 1860 as the government became convinced it was facing united Māori resistance to further land sales and a refusal to acknowledge Crown sovereignty. The colonial government summoned thousands of British troops to mount major campaigns to overpower the Kīngitanga (Māori King) movement and also conquest of farming and residential land for British settlers. Later campaigns were aimed at quashing the Pai Mārire religious and political movement, which was strongly opposed to the conquest of Māori land and eager to strengthen Māori identity. Māori religious movements that promoted pan-Māori identity played a major role in the Wars.
At the peak of hostilities in the 1860s, 18,000 British Army troops, supported by artillery, cavalry and local militia, battled about 4,000 Māori warriors in what became a gross imbalance of manpower and weaponry. Although outnumbered, the Māori were able to withstand their enemy with techniques that included anti-artillery bunkers and the use of carefully placed pā (fortified villages) that allowed them to block their enemy's advance and often inflict heavy losses, yet quickly abandon their positions without significant loss. Guerrilla-style tactics were used by both sides in later campaigns, often fought in dense bush. Over the course of the Taranaki and Waikato campaigns, the lives of about 1,800 Māori and 800 Europeans were lost, and total Māori losses over the course of all the wars may have exceeded 2,100.