A man reportedly threatened to blow up Prince Harry and Meghan Markle’s royal wedding last May.

According to the Daily Telegraph, Mohammad Jibra-Eel Saleh, 37, used a Gmail account to send emails to the office of Prince Andrew and British government officials, Leicester Crown Court heard.

Police were said to have tracked Saleh down two days before the May 19 wedding, which was held at Windsor Castle.

The Daily Beast reported the man in question was then detained by police after sending the messages from a local McDonald’s.

RELATED: ‘Saturday Night Live’: Prince Harry Gives Hilarious Video Tour of His and Meghan Markle’s Royal Baby Shower

One email reportedly read, “You f**king stupid British royal family. I am the Muslim Prince of Spain married to the illegitimate daughter of the former King of Spain, Juan Carlos’s daughter called Marguerita.

“All you British royal family are going to die for having me arrested and tortured in prison in Netherlands. We’re at war, b***h. Your grandson’s wedding is going to be a blast.”

The messages were thought to have been meant for Prince Philip.

RELATED: Anna Wintour Credits Meghan Markle For Inspiring Her To Wear Pants Again: ‘She’s Really Bringing Modernity To The Royal Family’

Saleh, who reportedly suffers from mental health problems, is now facing possible jail time.

According to the Daily Express, Saleh was found guilty of three charges last month, including sending electronic communications with intent to cause distress and anxiety and sending an electronic communication which conveyed a threat.

ET Canada has contacted Kensington Palace for comment.

Click to View Gallery
Meghan Markle’s Marvelous Maternity Style