A KELTY man who attempted to deal drugs in a Dunfermline nightclub was sentenced in Court.

The man's efforts were quickly thwarted after he was spotted acting suspiciously in Harlem nightclub.

Blair Rafferty, 21, of Beechbank Crescent, admitted that on January 23 at Harlem, Bruce Street, Dunfermline, he had in his possession a controlled drug, namely ecstasy, with intent to supply it to others.

Rafferty was reappearing in Dunfermline Sheriff Court after his sentence was deferred in October.

Depute Fiscal, Kiran Uppal, had previously told the Court: "The accused was seen acting suspiciously.

"A doorman asked him if he had anything he shouldn't have and the accused produced an envelope containing 32 ecstasy pills valued at £320.

"He said he got them for his friend’s 21st birthday party."

Defence solicitor, Stephen Morrison, said his client was a first offender and that financial problems at the time of the offence was the reason behind his efforts to sell the drug.

"He was employed at Rosyth Dockyard and was halfway through an apprenticeship.

"However, such was his dislike of the line of work that he left there.

"He went from having around £1,100 a month to zero and ended up with four payday loans."

The solicitor said his client and his friends were in the habit of buying drugs between them when they were going out.

“On this occasion he thought it would be a good idea to try to make money out of these pills among his friends. This did not meet with much success as his friends were not impressed that he was trying to make money out of them.”

Mr Morrison stated to the Court during the sentencing that the accused was "ashamed and embarrassed by his actions" and that his father "could not not be more disapproving of his behaviour".

Sheriff Craig McSherry imposed a restriction of liberty order of six months as a direct alternative to custody.