Police in San Jose shut down part of a neighborhood and were deploying flash-bang devices Thursday morning before they arrested an armed suspect who had been barricaded inside a home.
The operation took place in a neighborhood near Capitol Expressway and Senter Road, near Andrew Hill High School, police said. The location was in the 3200 block of Lantern Way, near Singleton Road.
Officers were serving a gun violence restraining order on a suspect, police said. That type of operation typically takes place when the district attorney finds probable cause to ask a judge to take all guns away from a person, normally because that person has been deemed too dangerous to own the weapons.
“We bring out all special operations personnel just to make sure that public safety is number one," San Jose police spokesperson Stacie Shih said. "We have a barricaded suspect who is armed and dangerous."
Police didn't immediately say how many weapons or what kind of weapons were seized.

Agents from Alcohol, Tobacco and Firearms, the Santa Clara County Sheriff's Office and the county district attorney's office also were at the scene, police said.
Neighbors thought they heard gunshots, but police said the popping sounds likely were flash-bangs deployed at the scene.
The enforcement came on the same morning the county district attorney touted a report by the state attorney general. In it, the attorney general said Santa Clara County is number one in the state when it comes to issuing gun violence restraining orders, also known as GVROs.
Last year, Santa Clara County issued 645 GVROs, well ahead of second place San Diego at 503.
Get a weekly recap of the latest San Francisco Bay Area housing news. Sign up for NBC Bay Area’s Housing Deconstructed newsletter.