A former police officer for the D.C. region's transit system will be back in court for a second straight day on charges that he tried to help the Islamic State group.

Thirty-six-year-old Nicholas Young of Fairfax, Virginia, was arrested Wednesday in an FBI sting. The FBI says Young, who was fired from his job as a Metro Transit Police officer after his arrest, is the first law-enforcement officer in the U.S. to be charged under the federal terrorism statute.

He's scheduled for a status hearing Thursday afternoon in federal court in Alexandria, Virginia.

Prosecutors say Young had been under surveillance for years and was finally arrested after buying nearly $250 in gift cards he thought would be used by the Islamic State group to buy mobile apps that would facilitate communication.