A Bangladeshi jailed for three-and-a-half years for a sex attack on a woman in Scotland faces being deported
At the High Court in Edinburgh, illegal immigrant Mofazzul Chowdhury, 34, was told he would be expelled from the UK on his release from prison.
The former chef from Bangladesh had previously admitted assault with intent to rape in Abbey Place on 20 August.
Judge Lord Menzies told Chowdhury that he had been assessed as posing "a considerable future risk to females".
"The crime to which you have pled guilty is a very serious matter, involving an attack on a defenceless young woman in a public street in the early hours of the morning with intent to rape her," he said.
"Rape is a very serious crime and assault with intent to rape is scarcely less serious."
He told Chowdhury that if he had been convicted after trial he would have jailed him for five years despite being a first offender.
The court heard that his student victim was assaulted by him moments after she was dropped off by a taxi driver.
Chowdhury claimed that he committed the attack on impulse after drinking beer for the first time.
He grabbed the woman by the neck from behind and forced her into an alleyway before trying to pull down her jeans and molesting her.
The court was told that Chowdhury wanted to remain in the country in a bid to reconcile with his estranged wife.
However, he was jailed with a recommendation that he be deported on his release.
Lord Menzies had earlier ordered that Chowdhury should be put on the sex offenders' register.
An illegal immigrant from Bangladesh has admitted carrying out a sex attack on a woman in Scotland