JACKSONVILLE, Fla. – A SWAT standoff in an upscale Mandarin neighborhood ended peacefully Friday afternoon when a man who had barricaded himself inside a home was taken into custody, according to the Jacksonville Sheriff's Office.

Matthew Lewis, 37, was arrested on domestic battery charges and booked in the Duval County jail. According to the charge listed on the JSO website, the victim was pregnant.

SWAT officers were called to the home on Red's Gait Lane after a woman said Lewis threatened her with a gun. Her exact relationship to Lewis is unclear.

The home is in an upscale gated community not far from Loretto Elementary School. There was no school Friday in honor of Veterans Day.

Authorities said the officers responded to a domestic abuse call, and a woman ran from the home, claiming the man inside threatened to kill her and himself with a gun.

The woman told police that the man, later identified as Lewis, threatened her after an altercation. Police did not say if she was injured.

SKY4 aerials showed at least a dozen police cars along the street and fire rescue crews nearby before a SWAT vehicle moved in, along with heavily armed officers wearing body armor.

"It’s a little bit unusual for a quiet neighborhood," neighbor Tom Richter said.

A negotiator was called to the scene, and authorities evacuated nearby homes in the subdivision, including Richter's.

"We went out through the backyard over the fence, through the school, but they offered evacuation," Richter said.

Just before 2:30 p.m., all the police and SWAT team members were seen leaving the neighborhood, and police said Lewis had been taken into custody without incident.

Neighbors said he has had run-ins with police, but never to the level of bringing in the SWAT team.

News4Jax found an active warrant for Lewis on a domestic battery charge from May in St. Johns County. The charge listed was domestic battery by strangulation.

Police have not released any details on the woman’s identity or if she sustained any injuries in the altercation.