The signing of the Treaty of Waitangi on 1840 marked the beginning of the formation of the modern nation of New Zealand. Prior to that, these islands were home to Polynesians, now known as Maori, living in many separated tribes with a primitive culture.
In Maori society loyalty was to the tribe, and, in the absence of any central overall authority, conflict resolution was by armed might, by fighting – with widespread killing, cannibalism and slavery. The coming of muskets, and the growing familiarity with other parts of the country (due to travel on British vessels and in long-distance war-parties) resulted in an explosion of war, and the Maori population declined by close to one-half in the first forty years of the nineteenth century.