Robertson went to the hospital to be treated for a head wound
An assault victim who said he did not want to be treated by a black doctor at Stirling Royal Infirmary has been jailed for three and a half months.
John Robertson, 29, came to the hospital with a head wound, after being attacked while he was drunk.
He was abusive to nurses, and when they told him he needed a doctor he made the racist comment.
Robertson pleaded guilty at Stirling Sheriff Court to racially-aggravated breach of the peace.
The court was told that Robertson, from Stirling, had been "considerably under the influence of alcohol" when the incident took place on 4 November.
Sheriff David Stewart told Robertson: "This was a doubly serious offence.
"The abuse of another race is a very serious matter, and the courts will not tolerate such behaviour.
"It took place in a hospital where people were trying to help you. Your response to that help was to shout and swear.
"Attention had to be paid to you, when there were no doubt more deserving cases in the hospital requiring treatment."