The United States has reopened its embassy in the Saudi capital, Riyadh, but its consulate in Jeddah remains closed, two days after it was stormed by militants linked to al-Qaida.

An embassy spokeswoman says U.S. officials Wednesday ended the emergency closure of the embassy as well as a consular office in the eastern port of Dhahran.

The missions were closed after Monday's attack that killed five non-American staff and four of the five gunmen. U.S. officials say they are bolstering security at all U.S. missions in Saudi Arabia in the wake of the attack.

Tuesday, the U.S. State Department re-issued a travel warning for Saudi Arabia, saying private American citizens should leave the country or cancel plans to travel there.

Some information for this report provided by AFP and AP.