Record-breaking king tides flooded roads and businesses along the California coast on Wednesday. Huge waves tore off part of a closed pier in Pacifica, south of San Francisco. Officials closed beaches and warned more homes near the shore could flood.

Los Angeles and Santa Barbara tied or broke all-time high tide records, at 8.19 and 8.21 feet, The Guardian reports, citing the National Weather Service. La Jolla, near San Diego, also set an all-time record, the outlet says. BBC News reports that the Los Angeles record had been set only weeks earlier, in October.

A video showed a massive wave tearing down part of the Pacifica pier and slamming it into the ocean, the Associated Press reports. Officials had closed the 1,140-foot pier in the summer after finding cracks, the AP says. BBC News and The Guardian also report the pier collapse.

Flooding was reported in the San Francisco Bay Area, BBC News reports. In Marin County, officials warned people in beachfront homes in Stinson Beach that waves could push water and debris into roads and houses, the AP reports. Monterey closed several beaches until Friday, and beaches in Santa Cruz County were also closed, according to The Guardian.

The weather service warned of breaking waves of 20 to 30 feet in the Bay Area that could sweep people into the ocean, the AP reports. Beachgoers were advised to stay away from the water's edge, the BBC says. The Guardian links the high tides to a strong El Niño pattern.

"This is a preview of things to come," Governor Gavin Newsom said at a news conference in San Francisco, according to The Guardian. He said the state needs lasting fixes, not just a response to single events.

What we know: Record king tides flooded parts of the California coast and destroyed part of the Pacifica pier. What we don't know: How much damage the flooding caused, and how many homes were affected.