In 1840, the Ngāpuhi chiefs were all signatories to the Treaty of Waitangi. However, from 1845–1846, Ngāpuhi fought against the British Crown over treaty disputes and European encroachment and interference. The Māori forces were led by Te Ruki Kawiti and Hōne Heke, who instigated the war when he chopped down the flagpole at Kororāreka to commence what is sometimes called the Flagstaff War. The British did not fight alone but had Ngāpuhi allies; Tāmati Wāka Nene had given the government assurances of the good behaviour of the Ngāpuhi and he felt that Hōne Heke had betrayed his trust in instigating the Flagstaff War.