KENOSHA, Wis. (AP) — A jury has convicted a man in a fatal knife attack at a residential care facility in Kenosha in 2015.

But rather than being sent to prison, Marcel Kudzin will be sent to a mental health facility because the state has stipulated that he’s mentally ill and is not guilty by reason of mental disease or defect.

Kudzin was accused of attacking a woman at St. James Manor and then fatally stabbing another resident who tried to intervene.

Although Kudzin had been found incompetent to stand trial several times since his arrest, he was found competent to stand trial last week.