Updated

A Virginia man whom prosecutors describe as a supporter of the Islamic State group has been sentenced to 10 years in prison for being a felon in possession of a firearm.

The U.S. Attorney's Office for the Eastern District of Virginia said in a Monday statement that 29-year-old Casey Charles Spain was released from prison in August.

The statement says that after his release he discussed on recorded calls his desire to travel overseas and join the militant group. He also came under FBI surveillance.

Prosecutors say Spain also discussed his plans to buy a semi-automatic handgun with a 50-round magazine.

A confidential FBI source provided Spain with a Glock handgun rendered inert for safety reasons. He initially attempted to escape arrest and was apprehended.