A man attempting to leave a Midtown parking deck was killed early Thursday after being pinned between his truck and the ticket machine, according to Atlanta police.

Officers were called to the parking deck at 1197 Peachtree Street near Colony Square shortly after midnight. They found a man pinned between his vehicle and the ticket machine for the deck, according to police.

The man, 48-year-old Raymond Tan of Gwinnett County, died at the scene, investigators said.

“Preliminary investigation indicates the victim had opened his driver’s side door to reach the ticket machine that operates the exit gate of a parking garage,” police said in a news release.

But the man’s truck continued to move forward while he was partially outside, trapping the driver and causing him to be pinned, according to police.

The investigation into the incident continued Thursday afternoon.

Though unusual, it wasn’t the first death reported while a driver was attempting to pay after parking in a deck.

A similar incident happened last year to a woman in Columbus, Ohio, who dropped her credit card while attempting to leave a garage, according to reports. Victoria Strauss, 23, was found by a security guard with her head stuck between her vehicle and the exit toll booth.