EL SEGUNDO, Calif. — A 5.2-magnitude earthquake struck Monday morning near San Diego County, according to officials.

The earthquake had a preliminary magnitude of 5.2 and was near the mountain town of Julian, east of San Diego, according to the U.S. Geological Survey.

The quake swung light fixtures and rattled shelves in San Diego and was felt as far north as Los Angeles.

No injuries or major damage have been reported, according to the San Diego County Sheriff's Office.

Schoolchildren were escorted outside of buildings as a precaution when the ground started moving, said Capt. Thomas Shoots of the California Department of Forestry and Fire Protection for San Diego County. He got a shake alert and then started feeling things rolling and swaying.

Gov. Gavin Newsom was briefed on the earthquake, his office said in a statement on social media. The state was working with local first responders to assess any damage.

The Los Angeles Fire Department on Monday said it was in a citywide Earthquake Mode. According to that protocol, the fire department vehicles and helicopters are patrolling the nearly 470 square-mile jurisdiction to identify damage or emergency needs, but so far, no significant damage or injuries have been reported in the City of Los Angeles.

The quake struck 8.3 miles deep near the Elsinore fault zone, one of the busiest seismic areas in California and part of the famous San Andreas fault system that usually sees at least one magnitude 4.0 quake every year, according to Lucy Jones, a veteran seismologist in Southern California.

Riley Ozuna, owner of the Julian Cafe & Bakery, said some cups fell onto the ground at her business. “But everything is OK,” she said.

At the San Diego Zoo Safari Park, a herd of African elephants was caught on video running over to protect their young by encircling them during the quake. Elephants have the ability to feel sound through their feet, and the behavior is known as an “alert circle." The herd consisting of Ndlula, Umngani, Khosi, and youngsters Zuli and Mkhaya, appeared to relax after several minutes, the park said.

Meanwhile, in Michigan, more than 2,000 miles away, residents still recovering from a major ice storm also got a “shake alert” on their wireless devices from the USGS: “Earthquake Detected! Drop, cover, hold on.”

It was a mistaken reference to the California earthquake. Portable cell towers from California are being temporarily used in Vanderbilt, Michigan, while the region tries to rebound from the ice storm that knocked out power to thousands of people, state police said.

“It is an odd alert to get in Michigan,” Lt. Ashley Miller said. “It was just poor timing. We just experienced this ice storm. I’m sure there were some people on edge.”