Moncton court

Denis Cecil Humphrey, 40, of Riverview, was sentenced in Moncton court on Wednesday. (CBC)

A Riverview man convicted of impaired driving has had his licence revoked for four years.

Denis Cecil Humphrey, 40, was pulled over for speeding on April 18, 2011, and tried to switch places with a female passenger, the Moncton provincial courtroom heard on Wednesday.

He was a prohibited driver, having been charged just two months prior, and smelled of alcohol.

Police found his blood alcohol level was twice the legal limit.

The Crown had requested a jail sentence of six to eight months.

Judge Anne Dugas-Horsman said the stakes are high in such a case because she has to consider public safety.

But she also told the court she believes Humphrey is on a path to recovery.

He has gone through treatment programs and counselling, the courtroom heard.

Humphrey was granted a "curative discharge" for the drinking and driving charge, but will be on probation for two years.

He was also given a conditional sentence for driving while prohibited, but he will be under house arrest for 45 days.