The California man who became infamous as the “American Taliban” after he was captured in 2001 while he fighting for terrorist forces in Afghanistan, is due to be released from a federal prison on parole Thursday.

John Walker Lindh, 38, is currently behind bars in Terre Haute, Indiana, after he was sentenced to 20 years in prison in 2002 for supporting al-Qaeda militants planning the attacks of Sept. 11, 2001. His probation, following reports of “good behavior” in prison, is set for three years and included a number of terms under his plea agreement.

Lindh is required to undergo mental health counseling upon his release. He is barred from communicating with anyone online in any language other than English, and from leaving the United States without permission of the court. Also, his internet usage would be monitored by his probation officer, and he will not access content on terrorism or extremism.

After 17 years in prison, ‘American Taliban’ John Walker Lindh set for release this week