FREMONT, Calif. — A fire at a San Francisco area Tesla factory has been brought under control after the blaze broke out Saturday night.

According to The Mercury News, the fire was first reported around 8:25 p.m. Saturday in the Fremont area, originating from a hazardous waste container.

HAZMAT teams were called out to help deal with the contents as firefighters brought the fire itself under control. That crew is still monitoring air quality near where the fire occurred, a fire chief told The Mercury News

The fire didn't end up being a threat to the factory and was eventually contained.