Before European contact the Maori of New Zealand did not think of themselves as a single people. Loyalty belonged to the tribe (iwi) and sub-tribe, which often fought one another. The word "Maori," meaning ordinary or normal, came into use as a collective name only once there were outsiders to be distinguished from. A shared national identity was a product of the colonial encounter.
In 1840 many chiefs signed the Treaty of Waitangi with the British Crown. Its Maori text promised them continued chieftainship over their lands, while the English text transferred sovereignty to Queen Victoria, a discrepancy at the root of later conflict. Settlers then arrived in growing numbers, and by the late 1850s they outnumbered Maori. The colonial government bought land cheaply, sometimes from individuals who had no right to sell communal property, and resold it to settlers. Each sale shrank the base on which tribal life depended.
Some chiefs concluded that the British were strong because they were united under one sovereign, and that Maori must do the same. After years of intertribal meetings, the Waikato chief Pōtatau Te Wherowhero was installed as the first Maori king in 1858. The movement, the Kīngitanga, was led politically by Wiremu Tamihana, a Christian chief known as the kingmaker. It set up its own councils, magistrates, flag and newspaper, and its member tribes placed their lands under the king's protection and pledged not to sell. Supporters presented the king as a partner of the British queen, not a rival. Colonial officials saw a challenge to British sovereignty and an obstacle to settlement.
In 1863 British and colonial troops invaded the Waikato, the central campaign of the New Zealand Wars. The Kingites were defeated by 1864 and the government confiscated vast tracts of their best land. The second king, Tāwhiao, withdrew with his followers into the rugged interior still known as the King Country, where colonial authority did not run until the 1880s. He later traveled to London to petition the queen, without result.
The Kīngitanga survived and has had a continuous line of monarchs to the present; in 1995 the New Zealand government formally apologized for the invasion and confiscations. As a case of Nationalism, it resembles other movements in which colonized peoples built new, wider identities to resist empire, such as the Indian National Congress or the Cherokee Nation, which adopted a written constitution to defend its homeland, and it contrasts with settler nationalism in New Zealand (British Settler Colony) itself.