<Table> God Defend New Zealand <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Td_colspan="2"> National anthem of New Zealand </Td> </Tr> <Tr> <Th> Also known as </Th> <Td> "Aotearoa" (Māori version) English: "New Zealand" </Td> </Tr> <Tr> <Th> Lyrics </Th> <Td> Thomas Bracken, 1870s (English) </Td> </Tr> <Tr> <Th> Music </Th> <Td> John Joseph Woods, 1876 </Td> </Tr> <Tr> <Th> Adopted </Th> <Td> 1940 (as national hymn) 1977 (as national anthem) </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th_colspan="2"> Audio sample </Th> </Tr> <Tr> <Td_colspan="2"> "God Defend New Zealand" (instrumental) <Ul> <Li> file </Li> <Li> help </Li> </Ul> </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Td_colspan="2"> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> </Td> </Tr> </Table> <Tr> <Td_colspan="2"> National anthem of New Zealand </Td> </Tr>

Who wrote the words to the new zealand national anthem