The NYPD traffic agent who drunkenly crashed into a pillar on the Williamsburg Bridge, killing a woman celebrating her 21st birthday, was driving over 100 mph, prosecutors revealed Thursday in court.

Assistant District Attorney Christina Ante said that investigators recovered a black box from Stefan Hoyte’s 2013 Infinity G37.

“The defendant was driving 111 mph with his foot 100 percent down on the accelerator,” Ante told Justice Mellisa Jackson as the parents of Amanda Miner sobbed in the gallery. The speed limit on the bridge is 35 mph.

Shortly after the deadly March 16 collision, Hoyte told cops he hit a patch of black ice, lost control of his car and slammed into a support pillar at about 3 a.m, according to newly released court papers.

Hie said his pal, who was in the front passenger seat, called out Miner’s name. “I looked back and realized that the back of the car was no longer attached to the front,” he said.

Miner was violently ejected from the backseat and her body severed in half. About 30 minutes after the gory wreck, he asked a cop, “Is my friend okay?” The police officer responded, “Which friend?” court papers show. “Clearly, my boy, because she’s dead,” he allegedly answered.

The prosecutor said that Hoyte, 27, downed at least nine drinks in the three hours before the fatal crash, according to surveillance video.

“He had by my count six test tube shots of vodka, two shots of vodka, then one or two mixed drinks which contained vodka,” said Ante, who added that he had a blood alcohol level of .12.

Hoyte told cops he was driving about 50 mph and only had two drinks, court papers state. Ante asked Judge Jackson to remand Hoyte who was out on $100,000 bail.

Defense lawyer Lawrence Fagenson told the judge the collision happened after a snowstorm and that there was an unmarked concrete obstruction on the bridge.

“It’s very possible he sped up the car in order to avoid that concrete obstruction,” the attorney said. “This is a tragedy, your honor, but a .12 blow is not someone who is completely out of control as a human being.”

The judge upped Hoyte’s bail to $250,000. He was arraigned on two counts of manslaughter and other charges.

Miner, a college junior at Lafayette College in Pennsylvania, had spent her birthday the night before seeing the show “Wicked” on Broadway and having dinner with her family.

Her mom, Virginia Cabrera-Miner previously said, “She could’ve changed this world, she changed mine. But now we’ll never see how far she could’ve gone.”

The distraught parents, surrounded by family and friends, declined to comment as they left Manhattan Supreme Court.