David Gary Yves Rousseau was convicted of robbing the Ladbrokes premises on Colomberie in April this year, whilst threatening a female member of staff with a large knife.
He had already pleaded guilty.
On the evening of 6 April Rousseau entered the Ladbrokes with the lower part of his face covered with a kitchen towel. He went on to pull an eight inch blade kitchen knife from his jacket which he used to threaten the female employee who was on her own at the time.
After realising he was not joking, she handed over the contents of the till - a total of £215 pounds.
Rousseau took the money but on his way out made the mistake of looking into the CCTV camera.
The footage was circulated and the defendant was recognised by the prison governor as Rousseau had just been released from prison six weeks earlier after a drugs conviction. He was arrested the following day and eventually pleaded guilty to the robbery.
The Crown today moved to request a five year jail sentence on the basis that it was his second conviction for robbery. His defence lawyer, however, tried to convince the jurats that this was excessive considering his client was genuinely remorseful.
In delivering his judgement, William Bailhache, said the conclusions of the Crown were entirely justified in this case.
Robbery, he said, was a serious offence that leaves members of the community very frightened. He went on to order a five-year jail sentence and for the weapon to be destroyed.