Essex Police they arrested a man, following a shooting incident Tuesday night.

They say calls started coming in around 5 p.m.

Police say the original call came from someone saying he was being ambushed and was returning fire. Police say it was believed the caller was having a mental health issue.

“It was essentially indiscriminate fire. To the best of my knowledge at this point, the suspect believed he was under some kind of attack…We’re confident were people who were not really there,” said Lt. Ken Beaulieu.

Police say they got other calls saying shots were fired and windows were being shattered in neighboring apartments. Surrounding apartments were evacuated.

Officers tell Local 22 and Local 44 it happened at the Riverside in the Village complex at 29 Franklin Street.

Police say they made contact with Patrick Perras, 45, of Essex. He surrendered about 30 minutes later.

No one was hurt, though Essex police say at least 17 rounds were fired and two apartments in a neighboring building were hit.

Perras will be charged with Reckless Endangerment.

The investigation is ongoing.