The Office of Canada's Prime Minister requested on Tuesday that Fox News retract or update what it called a "false and misleading" tweet about the nationality of the suspect in the Quebec City mosque shooting that left six dead on Sunday.

The Fox News tweet said the suspect was "of Moroccan origin." That was later disproved by authorities but not immediately corrected by the outlet on Twitter.

The outlet deleted the tweet Tuesday evening after receiving the office's request — more than 24 hours after it was posted.

"FoxNews.com initially corrected the misreported information with a tweet and an update to the story on Monday," Refet Kaplan, managing director of FoxNews.com, told Business Insider in a statement. "The earlier tweets have now been deleted. We regret the error."

The request, sent by Prime Minister Justin Trudeau's communications director, Kate Purchase, asked that Fox News either retract or update its tweet "to reflect the suspect's actual identity."

"Sadly, this misleading information has been left to stand on the Fox News Channel's Twitter account and continued to circulate online even now," Purchase wrote in an email to Fox News.

"These tweets by Fox News dishonour the memory of the six victims and their families by spreading misinformation, playing identity politics, and perpetuating fear and division within our communities," she added.

Purchase later thanked the outlet for deleting the tweet.

The confusion likely stemmed from early reports from Quebec authorities that two suspects were in police custody after the attack: Alexandre Bissonnette and Mohamed Khadir. Authorities later clarified that Khadir — identified in some reports as Mohamed Belkhadir — was a witness to the attack who had called 911, not a suspect who was charged.

But in tweeting updates of the story as more information became available, Fox News did not clarify the identity of the lone suspect, Bissonnette, who is a white, French-Canadian man. Nor did it explain that its original characterization of the suspect as Moroccan was incorrect.

Bissonnette, a 27-year-old university student, has since been charged with six counts of first-degree murder and five counts of attempted murder while using a restricted firearm.

Before the shooting, which Canadian authorities have referred to a terrorist attack, Bissonnette had expressed extremist, nationalist, and anti-Muslim views both online and to his friends, The Globe and Mail reported.

Here's the full email from Purchase to Fox News: