An upstate New York district attorney is under investigation after police bodycam video showed her getting into a heated confrontation with an officer who had stopped her for speeding, calling him an “a–hole” and demanding “leave me alone.”

Monroe County District Attorney Sandra Doorley apologized on Monday, a day after New York Gov. Kathy Hochul referred the April 22 incident to the State Commission on Prosecutorial Conduct.

“What I did was wrong — no excuses,” Doorley said in her apology. “I take full responsibility for my actions.”

The bodycam video, obtained by NBC affiliate WHEC of Rochester, showed that the exchange started when a Webster police officer pulled up to Doorley’s garage, where she had just parked.

The officer, identified as Cameron Crisafulli by the Democrat and Chronicle newspaper, asked Doorley why she didn’t pull over when he had his lights and sirens on.

She admitted she was going 55 mph in a 35 mph zone. Later in the 26-minute video, she said she didn’t think he was trying to pull her over, claiming there were other people on the road. “I was right behind you,” the officer replied.