The Virginia Senate voted 25-15 on Monday to keep the names of all police officers and deputy sheriffs a secret.

SB552 by Sen. John Cosgrove, R-Chesapeake, applies to any local or state officer, including officers from agencies such as the Department of Alcoholic Beverage Control and the Virginia Marine Police.

Cosgrove said during an earlier subcommittee hearing that he filed the bill in response to a November court ruling allowing The Virginian-Pilot access to names, agencies and employment dates for current Virginia police officers. The newspaper is examining how often officers who got in trouble were able to find other jobs in law enforcement.

Cosgrove said Monday that his bill, which exempts law enforcement officers from Freedom of Information Act requirements, should be passed to protect officers and their families from being targeted for violence.

“Unfortunately, our culture has changed,” he said. “Many times, police officers are considered fair game.”