A 22-year-old District of Columbia man has been indicted on federal charges that he shot at four plain clothes police officers.

According to charging documents, on the night of Jan. 26, members of the D.C. police robbery intervention unit were in an unmarked van in Northeast Washington looking for people who might commit robberies.

The van was driving on the 1600 block of Montello Avenue NE, near Gallaudet University in the Trinidad neighborhood, when they came across two men hiding behind a van.

The officers believed the duo were about to rob a Hispanic man who was walking in their direction, according to charging documents.

"Based on the officers' training and experience, they recognized the subjects' attire [dark clothing and masks] and suspicious behavior [hiding and observing pedestrians] to be consistent with that of robbery suspects," according to the police affidavit.

As the officers turned their van around and attempted to make contact with the two men, one of the men reached into his waistband and pulled out a black handgun and began to fire multiple shots, charging papers said.

The driving officer hit the gas and accelerated out of the line of fire as the officers watched the muzzle flash. One bullet struck the van, and other rounds struck the homes on the west side of the street.

Officers then jumped from the vehicle with badges and identified themselves as police officers, and the assailants fled.

Police found the suspected shooter -- later identified as Shawn Gray -- in an alley hiding under a car.

After both suspects were secured, K-9 officers searched the area and found a black Glock semi-automatic handgun about 8 feet from where Gray was captured, according to documents.

A federal grand jury last week charged Gray with assault with intent to kill while armed, possession of a firearm during a commission of violence and unlawful possession of a firearm and ammunition by a person convicted of a crime punishable for more than one year.