A United States soldier was indicted by a federal grand jury Friday after he attempted to pass along military secrets and other classified material to ISIS. The soldier faces four charges of providing material support to a “foreign terrorist organization,” which carries a maximum sentence of 20 years and a minimum fine of $250,000.

[Scroll Down For Video]

On July 8, Army Sgt. 1st Class Ikaika Kang was arrested by SWAT and is being held without bail. Along with attempting to provide military secrets, Kang, an air traffic controller, was also training individuals that he thought were ISIS militants how to use drones.

According to the Independent, those ISIS men were actually FBI agents. Kang’s crimes allegedly took place in Hawaii, where he is stationed, from June 21 to July 8, 2017, according to the New York Post.

Kang is expected to be arraigned Monday and will plead not guilty, according to his court-appointed attorney, Birney Bervar. Bervar told the press he plans to use his client’s mental health evaluation as his defense.

Bevar claimed that the “turning point” in Kang’s life was after he came back from a 2011 deployment. “He’s a decorated American soldier for 10 years, goes to Afghanistan and comes back and things start going off the rails.”

FBI agent, Jimmy Chen, told Fox News that Kang took an oath days before being arrested. The oath, called bayat, symbolizes undying devotion to ISIS’s leader Abu Bakr al-Baghdadi. Chen also stated that when Kang was picked up by authorities, he told them he wanted to use his rifle to “kill a bunch of people.”

After searching the residence, authorities located two firearms that were registered to the 34-year-old — an AR-15-style weapon and a .40-caliber pistol.

The affidavit in Kang’s case indicated that Kang had been acting irrationally and was reprimanded for threatening the lives of other American soldiers. “He was reprimanded on several occasions for threatening to hurt or kill other service members, and for arguing pro-ISIS views while at work and on-post.”

Eventually, this led to Kang losing his air traffic controller’s license and surey put him on the military’s radar as a possible threat.