The birds of New Zealand evolved into an avifauna that included a large number of endemic species (that is, species found in no other country). As an island archipelago New Zealand accumulated bird diversity and when Captain James Cook arrived in the 1770s he noted that the bird song was deafening. The mix includes species with unusual biology such as the kakapo which is the world's only flightless, nocturnal, lek breeding parrot, but also many species that are similar to neighboring land areas. A process of colonization, speciation and extinction has been at play over many millions of years, including recent times. Some species have arrived in human recorded history while other arrived before but are little changed.
When humans arrived in New Zealand about 700 years ago the environment changed quickly. Several species were hunted to extinction, most notably the Moa (Dinornithidae) and Haast's eagle (Harpagornis moorei). The most damage was caused by habitat destruction and the other animals humans brought with them, particularly rats - the Polynesian rat or kiore introduced by Māori and the brown rat and black rat subsequently introduced by Europeans. Mice, dogs, cats, stoats, weasels, pigs, goats, deer, hedgehogs, and Australian possums also put pressure upon native bird species. The flightless birds were especially sensitive.
Consequently, many bird species became extinct, and others remain critically endangered. Several species are now confined only to offshore islands, or to fenced "ecological islands" from which predators have been eliminated. New Zealand is today a world leader in the techniques required to bring severely endangered species back from the brink of extinction.