PITTSBURG (CBS SF) — A firefighter was injured battling a three-alarm fire that was burning at a roofing supply business on Piedmont Way in Pittsburg, officials said.

The first call came in at 2:39 p.m. and the fire quickly elevated to a second and third alarm.

READ MORE: Bay Area Sees Population Explosion Of Feral Cats; Pandemic Hinders Spay/Neuter Efforts

The blaze, clearly visible from Highway 4, spread to a structure at the Elite Roofing Supply Company and then ignited grass across the nearby abandoned train tracks.

A huge plume of smoke was visible, a spokesman said.

Both the structure fire at the lumber yard and the grass fire were contained at 4:05 p.m., according to Contra Costa Fire officials.

The injured firefighter was listed in moderate condition and was treated for smoke inhalation and transported to a local hospital. The firefighter was released around 9:30 p.m. Sunday evening in good condition, officials said.

READ MORE: COVID, Homeless Encampments Are Final Straws For School In San Jose's Little Italy Neighborhood

Contra Costa Fire said the fire originated in a homeless encampment on the north side of the lumber yard. Officials are investigating the cause of the fire.

According to CHP Contra Costa, firefighters were battling the blaze from the slow lane of Highway 4. The far right eastbound lane was closed due to the fire.

Piedmont Way was reopened around 7:45 p.m.

The fire caused some concern Sunday for the air quality in the area due to the chemicals in the material that caught fire.

“We have called county health to make some assessments as to the air quality,” said Steve Hill, public information officer for Contra Costa Fire.

MORE NEWS: COVID: Health Officials Find More CoCo County Restaurants Not Checking Vaccine Cards

© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Bay City News Service contributed to this report.