TAIPEI, Taiwan – Dozens of people aboard a plane flying to a Taiwanese island were killed Wednesday when the aircraft crashed in bad weather during an emergency landing, Taiwan's Transportation Ministry said.

The TransAsia Airways twin turboprop was flying from the southern Taiwan city of Kaohsiung, on the main island, to Magong on the Penghu Islands in rain and heavy winds as Typhoon Matmo passed through the region.

The Transportation Ministry said late Wednesday that 47 people had been killed and 11 injured when the plane, an ATR 72, crashed into residential buildings and caught fire.

The 14-year-old plane was carrying 54 passengers and four crew members.

New York Times