A Syrian man was arrested after shooting near the US embassy in Beirut on Wednesday.
The army stated that the embassy was targeted by gunfire from a Syrian national.
The shooter was wounded and apprehended by the Lebanese army.
The US embassy reported small arms fire in the area and praised the quick response of Lebanese security forces and their own team for ensuring safety.
The judicial official revealed that the assailant claimed to have carried out the attack in support of Gaza, where Israel and Hamas have been engaged in conflict since October 7.
A shooter attacked the US embassy in Beirut, Lebanon, resulting in the death of a Lebanese security guard.
The shooter's brother was also detained.
The embassy remained closed to the public but planned to reopen for general business the next day.
Access to the area was blocked off, and soldiers were deployed heavily nearby.
Lebanese Prime Minister Najib Mikati spoke with officials assuring him the situation was under control, and an investigation was underway to determine the circumstances and arrest those involved.
US ambassador Lisa
Johnson was currently outside Lebanon.
Last September, a gunman shot at the US embassy in Beirut without causing casualties.
The shooter was reportedly a delivery driver seeking revenge against embassy security.
This incident occurred on the anniversary of a 1984 car bombing outside the US embassy annexe, which the US blamed on Hezbollah, an Iran-backed militant group.
The embassy has a history of attacks, including during Lebanon's 1975-1990 civil war when diplomatic and military missions were targeted, and several US hostages were taken.
The embassy was relocated to Awkar after a 1983 suicide bombing killed 63 people.