New Zealand feared an extremist but found no way to stop him

(AP) Immigration officers feared him. So, too, did prosecutors, prison officials and police. They thought he could launch a terror attack at any moment. Even the prime minister wanted him deported.

Yet, in the end, nobody in New Zealand was able to stop an extremist inspired by the Islamic State group from walking free from prison in July. Seven weeks later, he grabbed a knife at an Auckland supermarket and began stabbing shoppers, injuring seven in a frenzied attack.

Court records, interviews and agency accounts explain how years of red flags weren’t enough to stop him.

— October 2011: Ahamed Aathil Samsudeen, 22, arrives in New Zealand from Sri Lanka on a student visa. The following month, he withdraws from his studies and makes a claim for refugee status.

Read more.