SANTA MONICA (CBSLA) – Los Angeles County lifeguards cleared beaches Wednesday up and down the Southern California coast after an electrical storm with lightning in Santa Monica.

Beaches from Dockweiler to Malibu were cleared just after 2:30 p.m. Anyone at the beach was urged to head indoors.

READ MORE: Person Fatally Injured In Single-Vehicle Crash On Big Tujunga Canyon Road

Residents were warned a late-season storm system moving through the region could bring lightning, hail, gusty winds and downpours, possibly causing some flooding, according to the National Weather Service.

County beaches were reopened just after 5 p.m.

READ MORE: Los Angeles Clippers Hold Off Lakers, 119-115

Lifeguards shared video footage apparently captured near their headquarters in Santa Monica.

Lightning and rain were reported across the L.A. Basin and as far inland as the Inland Empire.

Clouds began building throughout Wednesday morning and brought thunderstorms to parts of the San Gabriel Valley and Pomona by early afternoon.

MORE NEWS: Gaudreau, Tkachuk Lead Flames Over Ducks In Shootout

Thunder was also heard as it rumbled over the West Los Angeles area and over the Santa Monica Mountains, bearing down on coastal areas.