They said Ambassador Chris Stevens was killed Tuesday night when he and a group of embassy employees went to the consulate to try to evacuate staff as the building came under attack by a mob guns and rocket propelled grenades.
The three Libyan officials who confirmed the deaths were deputy interior minister for eastern Libya Wanis al-Sharaf; Benghazi security chief Abdel-Basit Haroun; and Benghazi city council and security official Ahmed Bousinia.
The State Department said Tuesday that one American was killed in the attack. It has not confirmed the other deaths.
The attack on the Benghazi consulate took place as hundreds of protesters in neighboring Egypt scaled the walls of the U.S. Embassy in Cairo and tore down and replaced the American flag with a black Islamic banner.
The attacks in Benghazi and Cairo were the first such assaults on U.S. diplomatic facilities in either country, at a time when both Libya and Egypt are struggling to overcome the turmoil following the ouster of their longtime authoritarian leaders, Moammar Gadhafi and Hosni Mubarak, in uprisings last year.
The protests in both countries were sparked by outrage over a film ridiculing Muhammad produced by an Israeli filmmaker living in California and being promoted by an extreme anti-Muslim Egyptian Christian campaigner in the United States. Excerpts from the film dubbed into Arabic were posted on YouTube.
Stevens, 52, was a career diplomat who spoke Arabic and French and had already served two tours in Libya, including running the office in Benghazi during the revolt against Gadhafi. He was confirmed as ambassador to Libya by the Senate earlier this year.
Before Tuesday, five U.S. ambassadors had been killed in the line of duty, the last being Adolph Dubs in Afghanistan in 1979, according to the State Department historian’s office.