PUBLISHED: | UPDATED:

A Greeley man thought to be connected to several early-morning gunshots on Saturday was arrested after barricading himself in a Longmont home for several hours.

The 37-year-old man was charged on suspicion of reckless endangerment, obstruction of police/fire, prohibited use of a weapon and theft for more than $300, but less than $750, according to Longmont police arrest affidavit.

Witnesses described hearing shots fired about 12:30 a.m. Saturday in the 120 block of St. Claire Avenue. Longmont police Deputy Chief Jeff Satur said no one was injured.

A neighbor reported to police that they heard “several loud bangs,” the affidavit said. The man said that after hearing the shots, they opened their front door and looked around. They reported seeing a man in the doorway of a residence across the street. The man appeared to be holding a rifle that was pointed at the ground, according to the affidavit. The neighbor closed their door and then heard another shot and decided to call police, the affidavit said.

About a mile from the 120 block of St. Claire Avenue, a Longmont officer on a routine patrol on East Fifth Avenue and Morgan Street also described hearing several loud bangs that “sounded like gunshots,” according to the arrest affidavit. The officer said they heard two bangs, followed by a third bang two to three minutes later.

Satur said there have been no reports of any buildings or vehicles that were struck by the gunfire.

“We don’t have any evidence that he was shooting at anything other than maybe up in the air,” Satur said in a text message Saturday.

Officers and SWAT surrounded the home where the man with the gun was seen. Police gave commands for people to come out of the home. Another man, who was not the suspect, came out and spoke with police. After several hours, the suspect came out of the home and was taken into custody.

The suspect told police he had been picked up by a friend and was staying at their home. He denied using any weapons and told police “he did not believe in guns,” according to the affidavit.

Police obtained a search warrant for the home and found an AR-15-style rifle and one magazine, the affidavit said. The weapon had been reported stolen from the Brush Police Department.

The affidavit said police determined the man to be a “danger to society,” because the firearm had reportedly been fired in a densely populated area. The man was taken to the Boulder County Jail.