An earthquake struck near the Pacific resort city of Acapulco on Tuesday night, causing buildings to rock and sway in Mexico City nearly 200 miles away.

The U.S. Geological Survey said the quake had a preliminary magnitude of 7.0 and was centered was centered 17 kilometers (about 10 miles) northeast of Acapulco.

Also read: Mexico’s Supreme Court decriminalises abortion

There were no immediate reports from the quake zone.

In Mexico City, the ground shook for nearly a minute in some parts of the capital, but was less evident in other parts. Some people evacuated their buildings briefly, but most quickly went back inside on a rainy night.

“A M7.0 quake occurred near Acapulco tonight. The location and focal mechanism are consistent with being part of the plate boundary where the Cocos plate is goin under the North American plate. M7 is smaller than many subduction zones, but common in the Mexico subduction zone,” Seismologist, Dr Lucy Jones tweeted. 

Watch: 

Mexico City authorities said there were no early reports of significant damage in the city, though they said electricity was knocked out in some neighborhoods.

Mayor of Acapulco, Adela Román, said in statement to the television news outlet Milenio that “there is no really serious situation” so far and no reports of casualties.

Also read: Google doodle honours late Swedish DJ Avicii on his 32nd birthday

“There are nervous breakdowns, people are worried because there have been aftershocks,” she said, adding that there are “many gas leaks in many places” as well as some landslides and fallen walls.

The country that lies on the five tectonic plates including three major ones, has been prone to earthquakes. On September 19, 1985 a 8.1 magnitude quake in Mexico City killed more than 10,000 people.

President Andrés Manuel López Obrador said via Twitter that authorities in the four states that most felt the earthquake told him there were no victims or serious damage beyond some collapsed walls and falling rocks.

“Fortunately there is not serious damage,” he said. “Fortunately, so far we don’t have information about the loss of any lives.”

Mexico’s National Civil Defense said it was conducting reviews in 10 states, but had not received reports of victims nor serious damage.

In Mexico City, the ground shook for nearly a minute in some parts of the capital, but the quake was less evident in other parts. Some people evacuated their buildings briefly, but most quickly went back inside on a rainy night.

With inputs from the Associated Press