A Libyan official has confirmed the death of the US envoy.
The attack occurred on Tuesday night after a group of people held a demonstration to protest against an anti-Islam movie made in the United States.
Witnesses said the protesters attacked and set fire to the consulate building while gunmen and security forces clashed. Rocket-propelled grenades were also fired at the US consulate.