SAN FRANCISCO (KGO) -- A San Francisco sheriff's deputy whose gun was stolen from the trunk of his car has lost his job.
The gun was taken Sunday on San Bruno Avenue in Potrero Hill.
The sheriff's department said the deputy was off-duty at the time and left the handgun in the trunk of a rental car.
The gun was not secured in a lockbox which is a requirement by the sheriff's department.
The weapon has not been recovered.
Guns stolen from law enforcement have been used in several fatal shootings in recent years.
San Francisco police reported last week that a gun stolen from an officer's personal vehicle on Aug. 12 was used in an alleged crime spree over the next several days, including the fatal shooting of 23-year-old Abel Enrique Esquivel Jr., on Aug. 15 in the city's Mission District.
Three people have been arrested in connection with that shooting, which allegedly occurred during a robbery.
A gun stolen from a U.S. Bureau of Land Management agent was also used in the fatal shooting of 32-year-old Kate Steinle in July 2015 in San Francisco. Jose Ines Garcia-Zarate, 54, is expected to stand trial on a murder charge in that case later this fall.
And in Oakland, 27-year-old Antonio Ramos was shot and killed on Sept. 29, 2015, with a gun that had been stolen from an Immigration and Customs Enforcement agent's car weeks earlier. Police arrested 20-year-old Marquise Holloway in connection with the shooting on Nov. 20.
In response to those and other incidents, a state law was signed last year requiring that law enforcement officers store guns in a locked trunk or safe box if they are kept in a vehicle. Civilians were already required to store their weapons securely but law enforcement had previously been exempt.
The San Francisco Board of Supervisors also passed an ordinance in February 2016 requiring all weapons left in vehicles to be secured in a locked trunk or lock box, for both civilians and law enforcement.
Bay City News contributed to this report.