The White House has said that the United States will treat any armed attack on Qatar as a direct threat and extend security guarantees to the Gulf ally, following an Israeli strike on its territory last month.

"In light of the continuing threats to the State of Qatar posed by foreign aggression, it is the policy of the United States to guarantee the security and territorial integrity of the State of Qatar against external attack," said an Executive Order signed by U.S. President Donald Trump on Monday.

In the event of an attack on Qatar, the United States will "take all lawful and appropriate measures, including diplomatic, economic, and, if necessary, military, to defend the interests of the United States and of the State of Qatar and to restore peace and stability," the order said.

Qatar's foreign ministry said in a statement the country "welcomes the signing of the U.S. president's executive order recognizing attacks on its territory as a threat to American peace and security".

The agreement comes after an Israeli strike on the key U.S. regional ally on Sept. 9, targeting officials from the Palestinian group Hamas who were discussing a U.S. peace proposal for the war in Gaza.