DEARBORN HEIGHTS (WWJ) – A Dearborn Heights man suspected of being an ISIS fanatic could find out today if he’ll be released from federal prison.

Court files say that conversations online with undercover agents revealed that 21-year-old Khalil Abu-Rayyan of Dearborn Heights was planning to open fire at an unnamed Detroit church.

READ MORE: Here Is The Top 'Should I...' Question Googled In Michigan In 2021, AT&T Reports

The attorney for 21-year old Khalil Abu-Rayyan says the FBI used extraordinary tactics to manipulate Rayyan during its surveillance that ended in a February arrest.

Click here to read the complaint (.pdf format)

READ MORE: GM Secures Tax Abatement For Proposed $1.3B Orion Assembly Plant Investment

According to the documents, Abu-Rayyan was under federal surveillance starting in May 2015. It was found that Abu-Rayyan was posting and retweeting ISIS-supporting posts on Twitter, along with photos of him firing an AK-47 and an AR-25 at a gun range.

Abu-Rayyan allegedly told an undercover agent through social media about his plans for an attack.

Prosecutors say Abu-Rayyan has a fascination with death and beheadings. Abu-Rayyan hasn’t been charged with any terror related crimes, only two weapons charges.

MORE NEWS: Chief White Says 'There's Reason To Believe' Remains Found In Detroit Belong to Missing Mother Latima Warren

During a February hearing, U.S. Magistrate Judge R. Steven Whalen says he must protect the community and refused bond and/or release of Abu-Rayyan.