LOCKPORT, N.Y. (AP) — A driver has died after his car plowed into a house in western New York, destroyed the home and trapped a man in a bedroom, the Niagara County Sheriff’s Office said Saturday.

The driver, 63-year-old John Kindig, died at a Buffalo hospital where he was flown after the crash in Lockport late Thursday, the sheriff’s office said in a release.

The car hurtled off a curve on Rochester Road, crossed a ditch, went onto Chestnut Ridge Road and hit a house, deputies said. One of the three people inside was stuck in a downstairs bedroom and rescued, but none of the occupants was injured.

Kindig was unresponsive and had to be extricated from the car, the sheriff’s office said.

Building officials said the home must be demolished immediately.

Deputies are investigating what caused the accident.