NEW YORK (CBSNewYork) – Police took two men into custody after an on-duty FBI agent was shot while working a case in Brooklyn Saturday afternoon, sources tell CBS2.

Sources say the agent was inside a car conducting surveillance near the corner of E. 92nd Street and Avenue N in Canarsie when the suspects drove by, firing into his vehicle around 3:30 p.m.

Even though the agent was struck in the shoulder, sources say he managed to return fire as the suspects fled. One of the suspects was hit by gunfire, according to sources. He was arrested when he showed up at Kingsbrook Jewish Medical Center seeking treatment for at least one gunshot wound, according to sources.

The second suspect was captured outside a business nearby on Remsen Avenue, according to sources.

The agent was rushed to Kings County Hospital with injuries that aren’t believed to be life threatening.

NYPD Chief of Department Terence Monahan tweeted that there “are no outstanding suspects at this time” late Saturday.

It wasn’t immediately clear what sparked the broad daylight shootout, or if the suspects knew their victim was an FBI agent.

Authorities also haven’t said what the agent was surveilling at the time of the shooting.

The investigation is ongoing.