A man who uploaded a video of a dog doing Nazi salutes online has been convicted of hate crime.
Mark Meechan was heard using phrases such as "gas the Jews" and "Sieg Heil" in the YouTube clip before the pug appears to lift up its paw in response.
The video was entitled "M8 Yur Dug's a Nazi" and the dog, named Buddha belongs to the man's girlfriend, according to the Daily Record.
It was posted in 2016 and gained more than three million views but resulted in the 30-year-old's arrest.
During his trial he claimed that he had only made the video in order to irritate his girlfriend and denied hate crime.
Meechan also claimed he only meant for some of his friends to see the video and his defence said focusing on the phrase "gas the Jews" was taking it out of context.
The court heard the video included the man saying: "My girlfriend is always ranting and raving about how cute and adorable her wee dog is.
"So I thought I would turn him into the least cute thing I could think of, which is a Nazi."
Meechan, known online as Count Dankula, also created another video after the upload of the pug video where he apologised, which the court viewed.
During the trial his girlfriend gave evidence and said Meechan did make her dog "look like something evil."
But she also said "he has never expressed any anti-Jewish or anti-Semitic views" and "he has never used these words other than in this video."
Before he was convicted he uploaded another video to YouTube where he said: "If worst comes to worst and everything goes f***ing terribly, keep fighting for free speech."
The judge ruled that the video was "anti-Semitic and racist" aggravated by religious prejudice.
Sheriff Derek O'Carroll also said he thought the video had been left on his YouTube channel in an attempt to gain more views on his other content.