A teenage neo-Nazi who called for Britain’s Prince Harry a race traitor months after his marriage to U.S. actress Meghan Markle and suggested the prince should be shot was jailed for more than four years on Tuesday.

Michal Szewczuk, 19, posted far-right online propaganda that included an image of Harry, the Duke of Sussex, with a gun to his head with the caption “See Ya Later Race Traitor.”

It was posted months after his wedding to Meghan, whose mother is African-American and father is white.

Szewczuk and his co-defendant Oskar Dunn-Koczorowski, 18, both Polish nationals, pleaded guilty to encouraging terrorism. Szewczuk also admitted five counts of possessing material likely to be useful to someone planning a terrorist act, which allegedly included an al-Qaeda manual.

‘Despicable acts’

“Dunn-Koczorowski and Szewczuk clearly see themselves as superior to the majority of society and they feel there duty is to express their beliefs, in turn teaching others,” said Martin Snowden, head of counterterrorism policing in northeast England.

“The considerable amount of material they have posted on social media channels not only reflects their extremist beliefs but was intended to encourage others to carry out despicable acts.”

Szewczuk, who had been attending Portsmough University, was jailed for four years and three months while Dunn-Koczorowski was sentenced to 18 months in prison.

Other posts by the men included support for Norwegian far-right mass killer Anders Breivik and backing for the neo-Nazi group, Sonnenkrieg Division.

According to a report by Britain’s Press Association, the two teens never met in person, posting on Gab, the social media that bills itself as “preserving individual liberty, the freedom of speech, and the free flow of information on the internet.” The site gained attention late last year for being frequented by the man accused of fatally shooting 11 people at a Pittsburgh synagogue.