Santa Clara County will spend nearly a half million dollars on a county gun team in charge of removing guns from people deemed to be dangerous, the county's Board of Supervisors decided Tuesday.

In a unanimous vote, the board accepted a proposal from board president Cindy Chavez to create a gun team of seven people -- three crime analysts, two lawyers and two prosecutors -- within the district attorney's office.

The team, which already had a lawyer and prosecutor and will add the five additional positions, will be funded by grant money and by $427,247 from the county's general fund for staff salaries.

The county funds will cover the newly hired attorney's salary of $215,653 and the prosecutor's salary of $211,594.

Supervisors Joe Simitian, Dave Cortese and Mike Wasserman all called the proposal a "good idea" after Assistant District Attorney James Gibbons-Shapiro briefed the board on the county's gun violence.