Libya says it wants to put al Qaeda leader Abu Anas al-Libi on trial after U.S. Special Forces captured him in a raid over the weekend.

American forces snatched al-Libi outside his home in the Libyan capital. He had worked closely with Osama bin Laden in Sudan and Afghanistan in the mid-1990s

The 49-year-old al Qaeda leader, the group's computer expert, is wanted in connection with the bombings of U.S. embassies in Kenya and Tanzania in 1998. Officials believe he helped set up surveillance of the American embassy in Nairobi.

In August 1998, explosives-laden trucks detonated first in Nairobi and 10 minutes later in Tanzania. The first bombing claimed the lives of 213 people, including 12 Americans. Eleven were killed in the second.

Meanwhile in Somalia, Navy SEALs stormed a compound on the beach in search of a top commander of the al Shabab terror group.

They withdrew under heavy fire and there was no word as to whether their target was killed.

U.S. Secretary of State John Kerry praised the quality and courage of the forces involved in the raids.

"We hope that this makes clear that those members of al Qaeda and other terrorist organizations literally can run but they can't hide," Kerry said.

Officials hope al-Libi can provide information about future attacks against the United States as well as the whereabouts of al Qaeda leader Ayman al Zawahiri.