An on-duty Uber driver has been charged with drug-impaired driving after a police officer allegedly spotted the vehicle swerve into oncoming traffic in Oshawa.

Durham Regional Police said the officer noticed the black Mazda swerving in and out of lanes on Simcoe and William streets shortly before 2:30 a.m. on Wednesday.

"Our officer spotted him driving erratically throughout the lane and even at one point going into oncoming traffic,” said Durham Regional Police Const. George Tudos said.

When the officer stopped the vehicle, they realized that the driver was working for Uber and had a customer in the backseat.

The customer was uninjured. Police arrested the driver at the scene.

In a statement, a spokesperson for Uber said the company does not tolerate the use of drugs or alcohol on the app.

“Upon learning of this report, we immediately removed the driver’s access to Uber,” the statement read.

A suspect identified as 36-year-old Mujib Rashidi, of Ajax, has been charged with impaired operation of a conveyance by drug.

Anyone with further details about the incident is being asked to contact Durham police or Crime Stoppers anonymously.