US President Donald Trump posted a message of support on Twitter after a gunman opened fire at people in several locations in Northern California, including an elementary school, on Tuesday (14 November). At least five people were killed and 10 others were injured in the shooting rampage before the gunman was shot dead by police.

However, Trump's tweet seemed to refer to a separate shooting at a church in Sutherland Springs, Texas that took place last week on 5 November.

"May God be with the people of Sutherland Springs, Texas. The FBI and Law Enforcement has arrived," Trump tweeted. The tweet was nearly the same as the message he posted about the Sutherland Springs shooting last week.

It isn't clear if the tweet was mistakenly resent or if Trump meant to respond to Tuesday's shooting in the rural community of Rancho Tehama in California.

However, Twitter users immediately pointed out the glaring mistake and tore into Trump accusing the president of using "copy and paste" to post his first message addressing the latest US shooting.

"Are you out of your mind?" one Twitter user furiously asked.

"Did u just copy & paste this & forget to change the city?" one user tweeted. Another added: "Did you reuse this tweet for the last mass shooting? Understandable. It's difficult to keep track of all of them."

Others voiced concerns that the tweet was not taken down for several hours. It was still live at the time of publication.

"The fact that the U.S. president can't even keep track of all the mass shootings is a fairly compelling argument for gun reform," Melissa McEwan wrote.

"The President of the United States is tweeting at midnight about the wrong mass shooting and it's like the 500th most insane Trump story of the week," a user said.

Screenshot/IBTimes UK
Trump seemed to mistakenly tweet a message of support for the wrong US shooting and Twitter furiously slammed him for it. Isaac Brekken/Getty Images