Donald Trump has congratulated himself in a tweet claiming the US is “now the biggest energy producer in the world”.

“Thank you Mr President,” he wrote in the tweet, which comes as global oil prices have risen following an attack on one of the world's largest oil refineries, in Saudi Arabia.

The tweet boasting of America’s energy independence comes after Mr Trump had said the US was “locked and loaded” and ready to use military force following the strike on two Saudi energy facilities, including the kingdom’s enormous oil processing plant at Abqaiq.

Saudi officials said there were 19 points of impact across the sites and suggested the attack had come from Iran or Iraq.

The attack is estimated to have removed 5.7 million barrels of oil from the market - a greater shock to the system than the Iranian revolution in 1979.

The Abquiq site processes 70 per cent of the entire country’s oil output.

Everyone Trump has fired or forced out Show all 13 1 /13 Everyone Trump has fired or forced out Everyone Trump has fired or forced out John Bolton Trump claimed to have fired Bolton, his national security adviser, while Bolton claimed he offered to resign. An anonymous White House source that Bolton's departure came as a result of the national security adviser working too independently of the president AFP/Getty Everyone Trump has fired or forced out Anthony Scaramucci Scaramucci lasted only six days in his role as Trump's communications director before being fired by John Kelly, the incoming chief of staff Getty Everyone Trump has fired or forced out Rick Perry Rick Perry announced his resignation just as he became embroiled in the president's impeachment scandal. The White House said Mr Perry was asked by Donald Trump to work with Rudy GIuliani in regards to Ukraine. AP Everyone Trump has fired or forced out Rex Tillerson Tillerson, Trump's first secretary of state, was fired after a series of clashes with the president over policy Getty Everyone Trump has fired or forced out James Mattis Mattis served as secretary of defense from the beginning of Trump's administration until retiring on 1 January 2019. However, the president later claimed that he had "essentially fired" Mattis Getty Everyone Trump has fired or forced out James Comey Comey was fired as director of the FBI early in Trump's presidency after serving in the role for four years prior. His dismissal is widely thought to have been related to the Russia investigation Getty Everyone Trump has fired or forced out Reince Priebus Priebus, Trump's first chief of staff, was forced out after six tumultuous months AFP/Getty Everyone Trump has fired or forced out David Shulkin Veterans affairs secretary Shulkin claims that he was fired, the White House claims that he resigned Getty Everyone Trump has fired or forced out John Kelly Kelly, Trump's second chief of staff, was forced out after 17 months in office. His departure was a confused affair though it is clear that Trump wanted Kelly out AFP/Getty Everyone Trump has fired or forced out Michael Flynn Flynn lasted 24 days as Trump's national security adviser before being fired for lying to the FBI Getty Everyone Trump has fired or forced out Lee Cisna Cisna served as director of citizen and immigration services between October 2017 and June 2019 before being asked to resign amid a major personnel change in the department of homeland security Everyone Trump has fired or forced out Madeline Westerhout Westerhout served as Trump's personal assistant after leaking private information about his family AFP/Getty Everyone Trump has fired or forced out Mira Ricardel Ricardel was forced out of her role as Deputy National Security Advisor after first lady Melania Trump publicly called for her to be fired

Following the attack, Mr Trump wrote: “Saudi Arabia oil supply was attacked. There is reason to believe that we know the culprit, are locked and loaded depending on verification, but are waiting to hear from the Kingdom as to who they believe was the cause of this attack, and under what terms we would proceed!”

His next tweet, written all in capital letters, simply said: “PLENTY OF OIL!”

Mr Trump’s claim the US is “now” the biggest energy producer in the world appears to indicate the attack has seen a change in the pecking order, but this is not the case.

The US became the world’s biggest overall energy producer in 2012, under Obama, and became the largest producer of oil last year, putting out over 15 million barrels a day, compared to Saudi’s 12 million barrels. Meanwhile China produces the most electricity in the world - almost twice as much as the US in 2018 - with over 7 million gigawatt hours compared to the US’s 4.4 million gigawatt hours.

And regarding Mr Trump’s claims the US is now a net exporter of energy, there is no proof that this is the case yet, with the International Energy Agency (IEA) forecasting the US to become a net exporter of oil and gas by 2020.

The US has blamed Iran for the attack on Saudi Arabia.

Over the weekend US secretary of state Mike Pompeo suggested Tehran was behind the attack and he has since been backed up by energy secretary Rick Parry, who said: “Make no mistake about it, this was a deliberate attack on the global economy and the global energy market.”

But Iran has strenuously denied the claims. Foreign ministry spokesman Abbas Mousavi said: “Such fruitless and blind accusations and remarks are incomprehensible and meaningless.”

There are now concerns the attack could send the price of oil to over $75 a barrel, possibly even reaching $100 a barrel.