MINNEAPOLIS (AP) — The Minnesota Supreme Court has vacated the mandatory sentence of life without release for a man convicted of killing three people in a Minneapolis market in 2010 when he was 17.

Mahdi Hassan Ali's case is being sent back to Hennepin County for a hearing to determine whether factors relating to his youth make a life sentence with parole more appropriate.

Ali was convicted of first-degree murder and other counts for the Seward Market killings. In 2011, he received life without parole.

But in 2012, the U.S. Supreme Court ruled that mandatory sentences of life without parole for juveniles are unconstitutional. The court didn't rule out those sentences for teens altogether — only the mandatory aspect.

Ali's case was on appeal, so the Minnesota Supreme Court says the federal ruling applies.

More From KROC-AM