MINNEAPOLIS (AP) - A man who admitted to leaving the U.S. in 2007 and joining the terror group al-Shabab in Somalia is scheduled to be released from federal prison, but may not be immediately freed.

Abdifatah Yusuf Isse is expected leave the federal medical facility in Rochester Thursday. U.S. Attorney's Office spokesman Ben Petok says Isse is being transferred into Immigration and Customs Enforcement custody and placed into removal proceedings.

Isse's attorney, Paul Engh, says he's working on resolving the immigration issues.

Isse pleaded guilty to providing material support to terrorists. He was sentenced to three years in prison, and 20 years of supervised release. He has credit for time served and good time.

He was among at least 22 young Somali men who left Minnesota since 2007 to join al-Shabab in Somalia.

More From AM 1240 WJON