MINNEAPOLIS (AP) _ A Minnesota man serving 20 years of supervised release for conspiring to join the Islamic State has been released from his federal halfway house.

U.S. District Judge Michael Davis granted 21-year-old Abdullahi Mohamud Yusuf's release to his family Thursday.

While at the halfway house, Yusuf received counseling, mentoring and an award for being a role model to other residents.

As condition of his release, Yusuf is barred from social media and accessing content with extremist views.

Yusuf was among nine Minnesota men sentenced last year for conspiring to join the militant group in Syria. He was barely 18 when FBI agents stopped him in 2014 as he was trying to leave the United States. He cooperated with prosecutors and was sentenced to time served, plus two decades of supervised release.

More From AM 1240 WJON