A man who fatally stabbed two people in an Auckland pawn shop will be detained indefinitely in a secure mental health unit.
Zarn Tarapata was found not guilty on the grounds of insanity last year for the 2014 murders of 69-year-old Paul Fanning and 47-year-old Paul Matthews.
He had thought both men had had sex with his partner and said God had told him to kill them.
In granting the order, Justice Moore, said Mr Tarapata, who has schizophrenia, still posed a risk to the public.
He said the attacks were frenzied, unprovoked and vicious and his condition had been exacerbated by methamphetamine.
Justice Moore said while in prison Mr Tarapata had repeatedly stopped taking his medication, suffered delusions and fashioned weapons to defend himself from real or imaginary attacks.
He cannot be released without an order from the Minister of Health.