Tesla security guards are seen behind a fence at the Tesla factory in Fremont, California, U.S. June 22, 2018. Picture taken June 22, 2018. REUTERS/Stephen Lam

WASHINGTON (Reuters) - Tesla Inc will pay a $31,000 penalty and purchase $55,000 in emergency response equipment for a California city under a settlement reached with the Environmental Protection Agency over federal hazardous waste violations at its automotive factory, the government said Monday.

The EPA said in a statement that Tesla will take specific steps to properly manage hazardous wastes at its factory after unannounced inspections in 2017 to its Fremont, California factory. The EPA said Tesla had failed to comply with air emissions standards for equipment leaks and management requirements for generators of hazardous wastes.

Tesla said in a statement that since the 2017 inspections “all gaps identified in the inspection have been resolved by Tesla.”

Tesla will provide at least $55,000 worth of emergency response equipment for the city of Fremont Fire Department as part of the settlement.