Firefighters from multiple agencies on Friday morning extinguished a massive fire at a pallet yard in San Bernardino.

The dramatic blaze erupted shortly before 4 a.m. at Inland Pallets in the 1200 block of Mountain View Avenue, the San Bernardino County Fire Department said on Twitter. About 80 firefighters and 18 fire engines responded to the scene, along with a bulldozer, hazardous materials unit and hand crew, the agency said.

"This place has only been here for probably four, five months, hasn't been here that long," said one man at the scene. "I heard about four or five explosions."

The flames spread to a nearby industrial building and caused some damage.

"We did have multiple exposures surrounding the pallet yard fire, with multiple businesses threatened," a fire department captain said. "However,we went in an aggressive attack, keeping damage very minimal and out of the structure."