Information about the New York subway was allegedly provided
An American man has been charged with giving al-Qaeda information about the public transport system in New York City, US court papers say.
The man, named as Bryant Neal Vinas, 26, is also accused of firing rockets at US troops in Afghanistan last year.
Other charges allege he received "military-type training" from al-Qaeda.
He has pleaded not guilty to charges including conspiracy to commit murder and providing support to a foreign terrorist organisation.
The documents unsealed in a New York federal court say that the accused is also known as "Ibrahim" or "Bashir al-Ameriki".
They say he provided "material support and resources ... including assistance derived from specialised knowledge" of the New York transit system and Long Island railroad.
He is said to have been arrested in November last year.
That same month, the Federal Bureau of Investigation (FBI) warned of a possible al-Qaeda plot against the New York transport system and the police were put on heightened alert.
Court documents say his alleged involvement in a rocket attack against US forces in Afghanistan took place "in or about" September 2008.
They allege that the accused, and other unnamed people, conspired to kill one or more nationals of the United States.