A MUSSELBURGH man who swore at hospital staff while visiting a family member has been ordered to carry out community service.

Robert Bain, 36, of Loretto Court, Musselburgh, had previously admitted shouting and swearing at staff at Lynebank Hospital, Dunfermline, and using threatening language last March.

When he appeared at Dunfermline Sheriff Court for sentencing, Sheriff Charles MacNair condemned his "unacceptable behaviour".

And he told Bain: "Staff in hospitals have a difficult job to do and they can do without having to deal with difficult relatives of patients."

Depute fiscal Dev Kapadia said that during the visit on March 19, Bain became agitated and started shouting and swearing.

He said Bain told staff: “You were f****** man-handling my (relative). I’m getting my (relative) out of here.”

Staff hit the emergency button as Bain shouted: “I’m sick of this s***”.

The court was told Bain continued to swear and when police arrived he was shouting: “Get the f*** out of here.”

He was eventually detained by police as his “hostile and aggressive” behaviour continued.

The court was told that the patient involved had since been transferred to a hospital in Glasgow.

Sheriff MacNair told Bain: “Your behaviour was wholly unacceptable.

He ordered Bain to carry out 180 hours of unpaid work.