A Scottish man was arrested after a video of him teaching his dog to make a Nazi salute and respond to the phrase “gas the Jews” sparked outrage among Jewish groups.

Markus Meechan, 28, was detained on suspicion of committing a hate crime and spent a night in jail, the Daily Mail said Monday. The arrest came after he posted a video online under the title “M8 Yur Dugs A Nazi” (Mate, your dog’s a Nazi).

Meechan was later released and a report sent to Scotland’s public prosecutor over an alleged breach of the electronic communications act of 2003, the Mail reported. Police called the arrest a warning that there would be zero tolerance for offensive videos.

Get The Times of Israel's Daily Edition by email and never miss our top stories Free Sign Up

“This clip was shared online and has been viewed almost one million times,” said Detective Inspector David Cockburn, according to the report. “The clip is deeply offensive and no reasonable person can possibly find the content acceptable in today’s society.”

He added: “There is no place for hate crime in Scotland and police take all reports of incidents seriously.”

In the clip, which has received over 940,000 views, Meechan said he had decided to train his girlfriend’s pug Buddha to be a Nazi as a practical joke.

“My girlfriend is always ranting and raving about how cute and adorable her wee dog is, and so I thought I would turn him into the least cute thing that I could think of, which is a Nazi,” he told his viewers.

He then filmed multiple instances in which his dog perks up to the sound of the phrase “gas the Jews” as well as simply the word “Jews.” In the second part of the video the dog is seen watching a Hitler speech and raising its right paw in response to the phrase “Sieg heil.”

Jewish groups were incensed by the video, with the Board of Deputies of British Jews calling it “sickening” and encouraging police to investigate Meechan.

The Scottish Council of Jewish Communities said anti-Semitism should not be regarded “as a joke,” with director Ephraim Borowski telling the Mirror that “to regard the meticulously planned and industrialized murder of six million people solely on the grounds of their ethnicity as a joke is outrageous.”

Meechan later apologized, saying he had never intended to offend anyone with the video and simply wanted “to annoy my girlfriend.” He said he never imagined the video would become viral and had thought it would only be viewed his close friends “who know me and know my sense of humor and know my comedy, which is quite dark.”

He stressed that he hated “racism in any way shape or form…I don’t have any ill will towards the Jewish community or anything like that at all.”

https://www.youtube.com/watch?v=_7kFHG7if7A

His girlfriend Suzanne Kelly defended him as well, telling the Mirror “that’s just Markus’s sense of humor. He would never set out to insult anybody or cause offense.”