Lebanese soldiers shot and arrested the gunman in early June.
A judge at Lebanon’s military court on Tuesday charged the gunman who opened fire at the US embassy near Beirut with being affiliated to the militant Islamic State group, security and judicial officials said.