Rescuers were scrambling Saturday to find more than 100 people they believe remain buried beneath the rubble of a high-rise residential building that collapsed after a powerful earthquake struck southern Taiwan before dawn. At least 14 people are dead and hundreds more are injured.

Nearly 340 people have been rescued from the rubble in Tainan, the city hit worst by the magnitude-6.4 quake, according to The Associated Press. Some 2,000 firefighters and soldiers used ladders, cranes and other equipment to access the ruins of the 17-floor building, which residents described as folding like an accordion onto its side after the quake struck.

The high-rise building "first starting shaking horizontally, then up and down, then a big shake right to left," Tainan resident Lin Bao-gui, a secondhand car salesman whose cars were smashed when the building collapsed across the street from him, told The Associated Press.

These photographs of the aftermath and search operation capture the devastation and panic.

Rescue teams search into the evening for the missing in a collapsed building after an early morning earthquake in Tainan, Taiwan, Saturday, Feb. 6, 2016.

A canine rescue team searches for the missing in a collapsed building, after an early morning earthquake in Tainan, Taiwan, Saturday, Feb. 6, 2016.

Rescue teams continue to search for the missing in a collapsed building, after an early morning earthquake in Tainan, Taiwan, Saturday, Feb. 6, 2016.

Rescue workers search a collapsed building from an early morning earthquake in Tainan, Taiwan, Saturday, Feb. 6, 2016.

A rescue team member searches for missing people in a collapsed building, after an early morning earthquake in Tainan, Taiwan, Saturday, Feb. 6, 2016.

In this photo taken from a drone mounted camera, rescue workers search a collapsed building from an early morning earthquake in Tainan, Taiwan, Saturday, Feb. 6, 2016.

A rescue worker searches a collapsed building from an early morning earthquake in Tainan, Taiwan, Saturday, Feb. 6, 2016.

Photo taken Feb. 6, 2016, shows a collapsed 17-story building in Tainan, Taiwan, after a powerful earthquake with a magnitude of 6.4 hit southern Taiwan.

Rescue workers search a collapsed building from an early morning earthquake in Tainan, Taiwan, Saturday, Feb. 6, 2016.

A young girl is rescued from a collapsed building after an earthquake in Tainan, Taiwan, Saturday, Feb. 6, 2016.

A young child is rescued from a toppled building from an early morning earthquake in Tainan, Taiwan, Saturday, Feb. 6, 2016.

Rescue workers remove a victim from a collapsed building from an early morning earthquake in Tainan, Taiwan, Saturday, Feb. 6, 2016.

A man is rescued from a collapsed building in Tainan, Taiwan, Saturday, Feb. 6, 2016.

Additional reporting by The Associated Press.