In 1840 the Treaty of Waitangi was signed between the British Crown and various Māori chiefs, bringing New Zealand into the British Empire and giving Māori equal rights with British citizens. There was extensive European and some Asian settlement throughout the rest of the century. War and the imposition of a European economic and legal system led to most of New Zealand's land passing from Māori to European ownership, and most Māori subsequently became impoverished.