Two officers with the Attleboro (MA) Police Department came under early morning gunfire on Monday, according to WCVB-TV.

The officers had been responding to a man-with-a-gun call and had just begun to approach a man fitting the description of the subject when the assailant opened fire.

Attleboro Police Department Chief Kyle Heagney said that neither officer was struck.

The suspected gunman—41-year-old Eric Lindsey—was hit by return fire, and was taken to a nearby hospital for treatment. Lindsey has now been charged with two counts of assault with intent to murder, four counts of assault with a dangerous weapon and multiple firearms charges, according to the Bristol District Attorney’s Office.

"Their instincts and training took over," Heagney said.