A videograph shows house and car damaged in earthquake.
At least four people are dead and 14 others injured after two earthquakes hit southwestern China on Wednesday, state media reported.
A shallow 6.1-magnitude quake hit a sparsely populated area in Sichuan province about 100 kilometres west of provincial capital Chengdu, broadcaster CCTV said.
It was followed three minutes later by a second quake of magnitude 4.5 in a nearby county where the deaths and injuries occurred, according to CCTV.
Footage obtained by the broadcaster showed dozens of schoolchildren screaming and ducking under desks as their building started to shake, before dashing out of the classroom with arms over their heads.
Another video posted on social media by state-run broadcaster CGTN appeared to show the first quake sparking a landslide that damaged cars and left rocks and soil strewn over a road.
"I felt it extremely clearly -- the door of my office kept swinging back and forth," said a worker surnamed Guo who works in a high-rise block in Chengdu.
"Some of my colleagues ran for the stairs to get to... a wide-open space," he told AFP.
Authorities in the city of Ya'an dispatched more than 4,500 people to the quake area, including emergency rescue workers, firefighters and military police, CCTV reported.
It said the city was "going all out to rescue those who have been trapped... and reduce the number of dead to the greatest extent possible".
Officials were also scrambling to "ensure no casualties are caused by secondary disasters", CCTV added.
The China Earthquake Networks Center said the first quake, in Ya'an's Lushan county, struck at a depth of 17 kilometres at about 5 pm local time.
The US Geological Survey said the quake registered a magnitude of 5.9 and was shallower at a depth of 10 kilometres.
Tremors were felt in cities across Sichuan province, damaging some telecommunications lines, state media reported.
Provincial authorities said some buildings had been damaged but there were no initial reports of any structures collapsing.
At a press briefing Wednesday evening, officials at the provincial earthquake bureau said the first quake was an aftershock from a magnitude 7.0 quake in 2013 that killed around 200 people.
Mountainous Sichuan -- a popular tourist destination home to China's giant pandas -- is an earthquake-prone area.
A shallow quake on the border with neighbouring Yunnan province in January this year injured more than 20 people.
Last September three people were killed and dozens of others injured when another shallow quake damaged tens of thousands of homes.
A magnitude 8.0 quake in 2008 in Sichuan's Wenchuan county cost tens of thousands of lives and caused enormous damage.
Among the dead were thousands of children killed when poorly constructed school buildings collapsed, though the government did not release an exact death toll as the issue took on a political dimension.
The epicentre of the quake, which struck at about 1:45am (1745 GMT) at a shallow depth of 10 kilometres (six miles), was located about 140 kilometres north-northwest of the city of Xining, US seismologists said.
Seismic alarms sounded midmorning with enough warning for residents to exit buildings. Power was knocked out to some areas.
Earthquakes are common in the southwestern province of Sichuan, especially in its mountains in the west, a tectonically active area along the eastern boundary of the Qinghai-Tibetan plateau.
A magnitude 7.5 earthquake in 2018 in the nation’s central region killed at least 125 people. That quake hit areas that are remote and undeveloped, and assessments about the scale of the damage and injuries were slow to filter out.
Elon Musk on Monday showcased the Tesla humanoid robot called 'Optimus' who greeted his followers with a 'Namaste', while performing a couple of Yoga postures comfortably.
The humanitarian and relief aid, which were carried on board of 28 aircraft in implementation of the directives of President His Highness Sheikh Mohamed Bin Zayed Al Nahyan, benefitted as many as 6,386 families.
Islamabad High Court Chief Justice Aamer Farooq on Monday ruled that Imran Khan be shifted to Rawalpindi’s Adiala Jail from the Attock district jail, where he is currently incarcerated in the cipher case.