The Lebanese military said that its solidiers shot and captured a gunman who attacked the U.S. embassy near Beirut after a shootout that injured an embassy security guard. The attack took place Wednesday as tensions continued to simmer in the tiny Mediterranean country, where months of fighting between Hezbollah militants and Israeli troops has displaced thousands along the border. Local media reported that there was a gunfight involving at least one attacker and lasting almost half an hour. A Lebanese security official and two judicial officials familiar with the case said the gunman appeared to be a lone attacker.