Flagstaff War: Unhappy with translational differences regarding the Treaty of Waitangi, chiefs Hone Heke, Kawiti and Māori tribe members chop down the British flagpole for a fourth time and drive settlers out of Kororareka, New Zealand.

The Treaty of Waitangi (Mori: Te Tiriti o Waitangi) is a treaty first signed on 6 February 1840 by Captain William Hobson as consul for the British Crown and Mori chiefs (rangatira) from the North Island of New Zealand. It has become a document of central importance to the history, to the political constitution of the state, and to the national mythos of New Zealand, and has played a major role in framing the political relations between New Zealand's government and the Mori population, especially from the late 20th century.

The treaty was written at a time when the New Zealand Company, acting on behalf of large numbers of settlers and would-be settlers, were establishing a colony in New Zealand, and when some Mori leaders had petitioned the British for protection against French ambitions. It was drafted with the intention of establishing a British Governor of New Zealand, recognising Mori ownership of their lands, forests and other possessions, and giving Mori the rights of British subjects. It was intended by the British Crown to ensure that when Lieutenant Governor Hobson subsequently made the declaration of British sovereignty over New Zealand in May 1840, the Mori people would not feel that their rights had been ignored. Once it had been written and translated, it was first signed by Northern Mori leaders at Waitangi. Copies were subsequently taken around New Zealand and over the following months many other chiefs signed. Around 530 to 540 Mori, at least 13 of them women, signed the Mori language version of the Treaty of Waitangi, despite some Mori leaders cautioning against it. Only 39 signed the English version. An immediate result of the treaty was that Queen Victoria's government gained the sole right to purchase land. In total there are nine signed copies of the Treaty of Waitangi, including the sheet signed on 6 February 1840 at Waitangi.The text of the treaty includes a preamble and three articles. It is bilingual, with the Mori text translated in the context of the time from the English.

Article one of the Mori text grants governance rights to the Crown while the English text cedes "all rights and powers of sovereignty" to the Crown.

Article two of the Mori text establishes that Mori will retain full chieftainship over their lands, villages and all their treasures while the English text establishes the continued ownership of the Mori over their lands and establishes the exclusive right of pre-emption of the Crown.

Article three gives Mori people full rights and protections as British subjects.As some words in the English treaty did not translate directly into the written Mori language of the time, the Mori text is not a literal translation of the English text, particularly in relation to the meaning of having and ceding sovereignty. These differences created disagreements in the decades following the signing, eventually contributing to the New Zealand Wars of 1845 to 1872 and continuing through to the Treaty of Waitangi settlements starting in the early 1990s.

During the second half of the 19th century Mori generally lost control of much of the land they had owned, sometimes through legitimate sale, but often due to unfair land-deals, settlers occupying land that had not been sold, or through outright confiscations in the aftermath of the New Zealand Wars. In the period following the New Zealand Wars, the New Zealand government mostly ignored the treaty, and a court-case judgement in 1877 declared it to be "a simple nullity". Beginning in the 1950s, Mori increasingly sought to use the treaty as a platform for claiming additional rights to sovereignty and to reclaim lost land, and governments in the 1960s and 1970s responded to these arguments, giving the treaty an increasingly central role in the interpretation of land rights and relations between Mori people and the state. In 1975 the New Zealand Parliament passed the Treaty of Waitangi Act, establishing the Waitangi Tribunal as a permanent commission of inquiry tasked with interpreting the treaty, researching breaches of the treaty by the Crown or its agents, and suggesting means of redress. In most cases, recommendations of the Tribunal are not binding on the Crown, but settlements totalling almost $1 billion have been awarded to various Mori groups. Various legislation passed in the latter part of the 20th century has made reference to the treaty, which has led to ad hoc incorporation of the treaty in law. As a result, the treaty has now become widely regarded as the founding document of New Zealand.The New Zealand government established Waitangi Day as a national holiday in 1974; each year the holiday commemorates the date of the signing of the treaty.

The Flagstaff War, also known as Heke's War, Hōne Heke's Rebellion and the Northern War, was fought between 11 March 1845 and 11 January 1846 in and around the Bay of Islands, New Zealand. The conflict is best remembered for the actions of Hōne Heke who challenged the authority of the British by cutting down the flagstaff on Flagstaff Hill (Maiki Hill) at Kororāreka (now Russell). The flagstaff had been a gift from Hōne Heke to James Busby, the first British Resident. The Northern War involved many major actions, including the Battle of Kororāreka on 11 March 1845, the Battle of Ohaeawai on 23 June 1845 and the siege of Ruapekapeka Pā from 27 December 1845 to 11 January 1846.