It was a terrifying day for people who live in an apartment complex when police were involved in a standoff with a gunman in New Milford.
It ended in gunfire Sunday afternoon with one officer's leg being grazed by a bullet at Candlewood Lake Road South.
State police said they arrested 47-year-old Kevin Mohan after the dust settled.
He was charged with unlawful discharge of a firearm and breach of peace. His bond was set at $500,000.
Mohan was given a court date of Monday in Danbury.
Police said they tried to end the situation peacefully.
It began around 2:30 p.m. on Sunday.
"Officers started yelling at him. You know, 'drop the gun, drop the gun,'" said eyewtiness Matthew Digiacomo
Investigators told Eyewitness News that New Milford Officer Charles Cochran was in a position at the time to use a Taser on the suspect.
That is when the suspect discharged his weapon, said officials. He struck Cochran in the ankle.
Officer Cochran was treated for non-life threatening injuries and has already been released from the hospital, troopers said.
Police were able to subdue Mohan with the use of a Taser.
After the suspect was taken into custody, a bomb squad was called to the scene.
They responded because police said the suspect threatened to set explosives throughout the condominium complex where the standoff took place.
Crews did not find any explosives.
During the standoff, people who live in the complex were evacuated for their own safety.
Mayor David Gronbach said a reverse 911 call went out to nearby residents, but not everyone apparently received the warning.
"I saw officers with assault rifles and shotguns. I asked in a pretty, in a tone not friendly, asked the officers what was going on," explained Digiacomo. "Why were they outside my home with assault rifles? No officers would acknowledge my presence. No officer told me to go inside."
Police are investigating this situation as a suicide-by-officer.
Now that it's over, Mayor Gronback is just thankful no one was seriously hurt.
"It's pretty incredible. I'm so impressed were able to in the face of somebody pointing a gun at them and threatening their life exercise this kind of restraint and put their lives on the line to save this individual's who was threatening them."
State police detectives are now looking into what lead up to the standoff and why the suspect fired his weapon.
Copyright 2016 WFSB (Meredith Corporation). All rights reserved.