A Keighley doctor who thrashed a teenage girl's bare buttocks with a coathanger and subjected her to a degrading sex assault was sentenced to five years yesterday, as a judge branded him "a potential risk to women".

Psychiatrist Darren Holds-worth looked stunned as he was told he would be jailed for three years and given an extended sentence for two years when he would be under close supervision.

Holdsworth, 35, blurted out "What!" before police officers led him from the dock at the High Court in Edinburgh to begin his jail sentence.

The court heard that his career had been suspended and he faced a disciplinary hearing before the General Medical Council.

Judge Lord McEwan told him: "The victim was a very vulnerable young woman and should have been recognised as such by you, particularly someone who is a medical man."

Lord McEwan said background reports "indicate to me that you are a potential risk to women".

The judge said he was "unpersuaded" that this was a case he could deal with without imprisoning Holdsworth, and pointed out that a fine was inappropriate as the psychiatrist was in so much debt.

The judge, who earlier put Holdsworth on the Sex Offenders' Register, also admonished him for possessing cannabis at his Glasgow flat.

Lord McEwan pointed out that a background report on the doctor said he had been addicted to cannabis since he was 16 and continued to use it.

Holdsworth was originally charged with raping the 19-year-old girl, but pleaded guilty to a restricted charge of indecent assault in which the rape allegation was deleted.

He admitted that in November last year, at a flat in Glasgow, he repeatedly struck her on the body with a metal coathanger and rubbed oil on her body .

A plea of not guilty to half-strangling the girl with his hands at his parent's home in Keighley, last November, was also accepted at an earlier hearing.

Holdsworth, who has a previous Crown Court conviction for assault occasioning actual bodily harm from 1994 in England, qualified from Glasgow University in 1999.

He worked in the city's Royal Infirmary and at Gartnavel Hospital, before going to work at Stobhill Hospital last year, where he worked with vulnerable patients in a drugs and drink rehabilitation clinic.

His victim, who had previous problems with anorexia, was in a restaurant in Glasgow's West End in October, last year, when he slipped her a note with his phone number. She called him up and met up with him.

The court heard that the couple began a fortnight-long consensual sexual relationship.

Defence solicitor-advocate Maurice Smyth said: "There was extensive, intensive, exploratory and uninhibited consensual sex."

But after Holdsworth spurned the teenager she ended up in hospital after taking pills and vodka in a suicide bid at her work. After treatment she told a nurse what he had done and police were called in.

As a result of the extended sentence passed on Holdsworth he will be kept under supervision following his release from prison and can be returned to prison if he gets into further trouble.