 This was defined as participation in a war against the Cook Islands or New Zealand, an attempt to overthrow the Cook Islands government, or an attempt to harm the Queen of New Zealand.The laws regarding capital punishment were based on New Zealand law at the time (New Zealand abolished capital punishment for treason in 1989).The Cook Islands announced the removal of its provisions for capital punishment in 2007, without ever having put them into use.