Kern County firefighters battled a blaze at a Shell gas station in Kernville early Tuesday morning.

The fire department was called to a report of a commercial structure fire in the 10000 block of Kernville Road at 4:06 a.m., according to a Kern County Fire Department news release. A 3,000-square-foot gas station and convenience store were ablaze and an attached restaurant threatened to catch fire as well.

Fire crews attacked the fire from the outside and were able to contain the inferno to the store and save the restaurant, the news release said. A reinforced alarm was called.

The fire department pegged the structure value destroyed by the blaze at half a million dollars. No one was injured and the cause of the fire is still under investigation.