Detailed Instructions: Given a passage and a question, find the answer to the question based on the passage. The answer should consist of only one word that lies in the span of only one of the sentences in the passage.
Q: Paragraph: Capital punishment in New Zealand first appeared in a codified form when it became a British territory in 1840 , and was first employed in 1842 . It was last used in 1957 , abolished for murder in 1961 , and abolished altogether , including for treason , in 1989 . During the period that it was in effect , 85 people were executed .
Question: when was death penalty abolished in new zealand

A:
1989