The State Department is urging American citizens to leave Iraq immediately, citing danger in the aftermath of a U.S. airstrike which killed Qasem Soleimani, one of Iran’s most senior military commanders.

President Donald Trump authorized the strike that killed Soleimani, who led the Quds Force of Iran’s Islamic Revolutionary Guards Corps, at Baghdad’s international airport early Friday morning.

American citizens were specifically warned to avoid the U.S. embassy in Baghdad, which had been besieged by Iranian-backed militias Thursday.

“Due to heightened tensions in Iraq and the region, the U.S. Embassy urges American citizens to heed the January 2020 Travel Advisory and depart Iraq immediately,” the State Department said in a statement released Friday. “Due to Iranian-backed militia attacks at the U.S. Embassy compound, all public consular operations are suspended until further notice. U.S. citizens should not approach the Embassy.”

Soleimani had approved the attacks on the U.S.’s Baghdad embassy in the days before his death, the U.S. Department of Defense said in a statement confirming U.S. responsibility for the general’s death.

The Pentagon said Soleimani was also “actively developing plans to attack American diplomats and service members in Iraq and throughout the region.”

“General Soleimani and his Quds Force were responsible for the deaths of hundreds of American and coalition service members and the wounding of thousands more,” the statement added.

The State Department advised U.S. citizens in Iraq to leave the country preferably by air travel, or failing that, across land borders.

Across the Middle East, security has been ramped up at U.S. military bases in the expectation of retaliatory attacks.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Billy Perrigo at billy.perrigo@time.com.