A New York City police officer is under investigation after he was caught on tape berating an Uber driver. 

The NYPD confirmed that the screaming man, who was in plainclothes during the incident, is a detective and that the city's Civilian Complaint Review Board is conducting the investigation

The video has now gone viral after a passenger in the vehicle posted it on YouTube, calling it "abuse" of the driver.

Sanjay Seth wrote on YouTube that Monday's confrontation began when the Uber driver motioned "casually and non-offensively" to the officer, whose unmarked car was likely double-parked.

"In an unmarked car, the policeman was allegedly attempting to park without using his blinker at a green light. (His reverse lights weren't on. Likely double parked without hazards on.) The Uber driver pulled around and gestured that he should use his blinker, casually and non-offensively, and kept driving us. The policeman quickly pulls up behind us and this is what happens," he wrote.

The video has already been viewed more than 500,000 times in the last few days. He said the driver's name was Humayun.

In the video, the irate officer questioned the driver about how long he had been in the country and appeared to mock his broken English.

"You understand me? I don't know what [expletive] planet you think you're on right now," he shouted.

The driver can be heard attempting to calm the officer and apologize.

The officer then alleges the Uber driver had committed traffic violations and hands him a piece of paper. He also threatens the driver with arrest. 

"I got news for you and use this lesson: don't ever do that again. The only reason you're not in handcuffs going to jail and getting summonses in the precinct is because I have things to do," he said.

Watch the footage below. 

VIDEO: AL Cop Arrested After Slamming Indian Grandfather to Ground

College Students Want to Name a Building After a Convicted Cop Killer

(Warning: contains offensive language.)

Cops Face Murder Charges After Video Captures Shooting of Homeless Man

Deputy Sobs After Shooting 70-Year-Old Who Grabbed Cane

Teacher on Cell Phone Gets Pepper-Sprayed By Police Officer

Trucker Records Traffic Stop, Says Cop Was on Phone, Speeding