The Treaty of Waitangi is an agreement signed in 1840 between Maori rangatira (chiefs) and the British Crown about how they would share and look after Aotearoa New Zealand together.