SAN FRANCISCO (AP) – A Bay Area sheriff’s deputy was fired after a thief stole his gun from his rental car.

The San Francisco Sheriff’s Department declined to identify the deputy on Tuesday. Sheriff Vicky Hennessy said the deputy violated department policy by failing to properly secure his gun, which was left in the car’s trunk. Deputies are required to store guns in a metal, locked box hidden from plain view if they are left in cars.

The newly hired deputy’s probation was terminated.

Several law enforcement agents in the last two years have had guns stolen from parked cars in San Francisco, three of which have been used in homicides.

There were nearly 18,000 car burglaries reported for the year ended July 31, a 28 percent increase over the previous year.

Copyright 2017 The Associated Press.