An unidentified man is in federal custody after he asked about buying grenades and discussed possibly detonating them in Times Square, according to law enforcement sources.

The man was intercepted by federal and local officials, and he posed no imminent threat.

He is expected to appear in federal court in Downtown Brooklyn on Friday.

He was detected both inquiring about obtaining grenades and discussing using them in Times Square, the sources told ABC News.

Read more: ABC News