Two MTA workers preparing for overnight maintenance work to the F and G tracks in Brooklyn were struck by a G train last night, killing one and injuring the other. The southbound train "rounded a curve" between the Fort Hamilton Parkway and Church Avenue stations, "pinning both men."

The tragic collision occurred just after midnight. The men were "'flaggers'... [who] go into the subway with lanterns to light the way before repairs begin," according to NBC New York. The third rail had to be turned off before rescue crews could reach them, and then the emergency workers had to use a subway hatch near East 3rd Street and Canton Avenue to reach the workers.

Brooklyn: East 3rd St & Fort Hamilton Parkway, FDNY using all hands for 2 MTA workers struck and pinned underneath a train pic.twitter.com/FrDicDDwov — NYC Scanner (@NYScanner) November 3, 2016

FDNY Deputy Chief Stephen Moro called it a "difficult and unusual, unorthodox type of rescue, and they were able to extricate them as quickly as possible."

WATCH: MTA worker dead, another hurt after being hit by subway train in Brooklyn. CBS2's @MagdalenaDoris reports. pic.twitter.com/Gu1L7RBWPU — CBS New York (@CBSNewYork) November 3, 2016

One worker, a 53-year-old man, died from his injuries while another, a 49-year-old, suffered injuries. The G train conductor is also being observed for trauma.

Thirteen transit workers have been killed in the past 15 years. In 2007, a transit worker who was setting up lights for track work was killed by a train near the Columbus Circle station. A few days later, another worker, who was repairing tracks, was fatally struck by a G train at the Hoyt-Schermerhorn station.

The Transit Workers Union Local 100 President John Samuelsen said, "This tragedy highlights the extreme danger transit workers are in every time they step on the tracks. Here we have two transit workers run down by a train while performing routine maintenance. The NYC Transit Authority can't protect us so they damn well better pay us."