TERROR

The Latest: Officer goes before judge on terrorism charge

A law enforcement officer walks on the street outside the home of Nicholas Young, a Washington Metro Transit Officer, Wednesday, Aug. 3, 2016, in Fairfax, Va., Young was arrested at Metro's headquarters in Washington and charged with a single count of attempting to provided material support to a terrorist group. (AP Photo/Pablo Martinez Monsivais)

A law enforcement officer walks on the street outside the home of Nicholas Young, a Washington Metro Transit Officer, Wednesday, Aug. 3, 2016, in Fairfax, Va., Young was arrested at Metro's headquarters in Washington and charged with a single count of attempting to provided material support to a terrorist group. (AP Photo/Pablo Martinez Monsivais)  (The Associated Press)

The Latest on a police officer who the FBI says was caught in a sting with attempting to support the Islamic State group (all times local):

2:15 p.m.

A Washington, D.C.-area transit police officer charged with attempting to support the Islamic State group has made his initial appearance in court.

Thirty-six-year-old Nicholas Young of Fairfax appeared Wednesday afternoon in U.S. District Court in Alexandria. A magistrate appointed a public defender to represent Young after he requested a court-appointed attorney.

The FBI says Young is the first law enforcement officer in the U.S. to be charged under the federal government's terrorism law.

Young was wearing a T-shirt and what appeared to be his uniform slacks. Authorities say he was arrested earlier in the day at the Metro Transit Police headquarters in Washington.

He said little else during the court hearing, which lasted less than 5 minutes. Prosecutor John Gibbs said Young could face up to 20 years in prison if convicted on the terrorism charge.

Court documents say Young bought nearly $250 in gift cards he intended for the Islamic State to use to purchase mobile messaging apps.

___

10:40 a.m.

Authorities say a Washington, D.C.-area transit police officer has been charged in an FBI sting with attempting to support the Islamic State group.

The FBI says he is the first law enforcement officer in the U.S. to be charged with a terror-related crime.

Court documents say 36-year-old Nicholas Young of Fairfax was arrested Wednesday morning. According to an affidavit, Young bought nearly $250 in gift cards he intended for the Islamic State to use to purchase mobile apps that would facilitate communication. But Young actually gave the gift cards to an undercover FBI source.

Documents show Young has been under surveillance since 2010, and that he traveled to Libya twice in 2011, where he said he joined rebel forces seeking to oust dictator Moammar Gadhafi.

Officials say Young did not pose any threat to the Metro system.