A truck struck two people and wreaked havoc in Bath Beach on May 31, according to authorities.
The vehicle drove onto the sidewalk and collided with a 26-year-old pedestrian, before smashing into a restaurant at the corner of Bay 34th and 86th streets at 2 p.m., cops said.
The driver of the truck then backed out of the restaurant wreckage and attempted to flee the scene of the accident, according to a police spokeswoman.
The ill-planned getaway was foiled when the driver hit a second pedestrian and crashed into a pillar of the elevated subway line across the street from the shattered Mylasian restaurant, cops said.
First responders took the first victim to Coney Island Hospital, and the second to Maimonides Hospital, authorities say. Both victims are in stable condition.
Cops took the truck driver into custody, and charges are pending while the investigation is ongoing.