Investigators are trying to determine the cause of a weekend fire in San Bernardino that damaged a six-story building housing San Bernardino County offices.

Heavy smoke and fire was pouring from the fourth floor when county firefighters arrived Sunday morning, said Battalion Chief Mike McClintock.

The building has space for code enforcement, public health and the civil grand jury, Southern California News Group reported.

SAN BERNARDINO, CALIFORNIA PARTY SHOOTING LEAVES 1 DEAD, 8 INJURED

San Francisco news, Sacramento News

A 6-story building in San Bernardino was damaged by a fire and investigators are trying to determine how the fire started.  (Fox News)

Firefighters were able to confine the fire to the fourth floor and extinguish it in about 90 minutes, McClintock said.

No firefighters were hurt.

CALIFORNIA IN CRISIS, NEWSOM FOCUSED ON SLAVERY REPARATIONS