A letter containing white powder was sent to Meghan Markle and Prince Harry at St James’s Palace causing fears of an anthrax attack, Scotland Yard can confirm.

As first reported by the Evening Standard, the envelope sent on February 12 was specifically addressed to the couple, but was intercepted by Palace security before it reached them. Detectives from the Metropolitan Police Counter Terrorism unit were called in to investigate the incident further.

Tests later found the powder to be “non-suspicious” and Meghan and Harry were informed about what had happened.

In a statement, Scotland Yard said “police are investigating after a package containing a substance was delivered to St James’s Palace on Monday, 12 February.”

“Officers are also investigating an allegation of malicious communications which relates to the same package, and it is being treated as a racist hate crime,” the statement continued.

The Met’s Counter Terrorism Command will continue to investigate the matter.

RELATED: Meghan Markle Gets Royal Aide Ahead Of Wedding

Police are also said to be investigating whether the incident is connected to the package of white powder delivered to the office of Home Secretary Amber Rudd at the Houses of Parliament on February 13.

A House of Commons spokesman said: “The Metropolitan Police investigated a small package containing white powder on the Parliamentary Estate. The powder was found to be non-harmful.”

RELATED: Meghan Markle ‘Close To Tears’ As Kids Perform Ed Sheeran’s ‘Perfect’ For Her And Prince Harry In Edinburgh

The scare comes at a time when security is on high alert due to the couple’s upcoming wedding at St. George’s Chapel, on Saturday, May 19, where thousands of well-wishers are expected to be in attendance.

Meghan and Harry are scheduled to ride a carriage along a route around Windsor Castle to greet the waiting crowds before the ceremony.

There have been no arrests and enquiries continue.