Last Updated Jul 4, 2016 1:45 AM EDT
DUBAI, United Arab Emirates -- A suicide bomber carried out an attack early Monday near a U.S. diplomatic site in the western Saudi city of Jeddah, according to the Interior Ministry.
The ministry said in a statement the attacker detonated his suicide vest when security guards approached him near the parking lot of a hospital. The attacker died and two security men were wounded with minor injuries, according to the statement published by the state-run Saudi Press Agency. Some cars in the parking lot were damaged.
Interior Ministry spokesman Maj. Gen. Mansour al-Turki said in the statement the attacker caught the attention of the security guards, who noticed he was acting suspiciously at an intersection on the corner of the heavily fortified U.S. consulate in Jeddah, located by the Dr. Soliman Fakeeh Hospital. Most of the consulate's staff had reportedly moved offices to a new location.
The U.S. Embassy in Saudi Arabia confirmed in a statement for U.S. citizens that there were no casualties or injuries among consular staff. The embassy said it remains in contact with Saudi authorities as they investigate the attack.
The Interior Ministry did not specify if the attacker was intending to target the U.S. diplomatic compound, saying an investigation was underway to determine his identity.
Three more blasts rocked the area hours later, a witness told the Reuters news agency, which says it appeared police were carrying out controlled explosions.
A 2004 al-Qaeda-linked militant attack on the U.S. consulate in Jeddah killed five locally hired consular employees and four gunmen. The three-hour battle on the compound came amid a wave of al-Qaeda attacks targeting Westerners and Saudi security posts.
More recently, Saudi Arabia has been a target of Islamic State of Iraq and Syria (ISIS) attacks that have killed dozens of people. The extremist group views the Western-allied Saudi monarchy and government as heretics. Saudi Arabia is part of the U.S.-led coalition fighting ISIS in Iraq and Syria.
In June, the Interior Ministry reported 26 terror attacks had taken place in the kingdom in the last two years. Local ISIS affiliates have targeted minority Shiites and security officials.
The attack comes just days before the end of the holy month of Ramadan, in which observant Muslims fast daily from dawn to dusk.
The U.S. Embassy regularly issues advisory messages for U.S. citizens in Saudi Arabia. In a message issued Sunday and another one issued after the attack Monday, the embassy urged Americans to "remain aware of their surroundings, and take extra precautions when travelling throughout the country." It also advised citizens to "carefully consider the risks of traveling to Saudi Arabia."