Brendan Cronin (right) has admitted to firing at least 14 shots at a car stopped at a red light in Pelham. (credit: CBS2)

WHITE PLAINS, N.Y. (CBSNewYork) — For the first time ever, a New York City police officer stood in open court Tuesday and pleaded guilty to attempted murder of unarmed civilians.

As CBS2’s Lou Young reported, Officer Brendan Cronin admitted that he ambushed and opened fire on a car while he was off duty in Pelham.

Cronin admitted his guilt without explanation in Westchester County court in White Plains. Like a groom at his wedding over and over, Cronin said, “I do,” as he answered questions about whether he agreed to plead guilty.

He admitted to the charges in the entire indictment that charged him with two counts of attempted murder, two counts of assault and driving while intoxicated in the April 2014 incident.

“You freely and voluntarily admit that you committed those offenses, and you shot into that the vehicle multiple times?” Westchester County Assistant District Attorney Tim Ward asked.

“I do,” Cronin replied.

Cronin’s tight-lipped plea followed months of negotiations.

Authorities said Cronin was drunk when he pulled up to a car stopped at a red light in Pelham and opened fire in on April 29, 2014.

He initially claimed he blacked out after a day of police weapons training and heavy drinking.