WASHINGTON (AP) — President Barack Obama is vowing that al-Qaida suspect Abu Anas al-Libi will be brought to justice.

But Obama sidestepped a question during a White House news conference about whether the raid that captured al-Libi complied with international law. He says the U.S. has strong evidence that al-Libi planned and helped execute plots that helped kill hundreds of people.

The U.S. had long sought al-Libi for his alleged role in the 1998 bombings of U.S. embassies in Africa. He was captured in Libya Saturday.

His capture came the same day as another U.S. counterterrorism raid in Somalia.

Obama says Africa has become a place where it's easier for terrorists to hide. He says the U.S. must keep targeting terrorists, but he says that's different than being involved in wars.