The veteran NYPD detective caught on video in a foul-mouthed verbal beatdown of an Uber driver says he's sorry.

"I apologize. I sincerely apologize," Det. Patrick Cherry tells local New York in an exclusive interview.

Cherry on Monday pulled over an Uber when its driver honked at him for not signaling.

What followed -- a xenophobic, door-banging, curse-filled tirade -- was caught on a cellphone by backseat passengter Sanjay Seth, It went viral after he posted it on YouTube, where it has gotten more than three million views.

"People shouldn’t be treated that way. I let my emotions get the better of me and I was angry," Cherry said. "My intention was to be courteous and then we got into an argument. There was no intention to berate or hurt deeply the driver."

Cherry, who is assigned to the FBI's Joint Terror Task Force, was put on modified duty by NYPD Commissioner Bill Bratton, who also took his badge and gun,

Bratton, who has made improving community relations a priority, said Cherry set that all back.

The detective said he will do what he has to do to undo the damage.