NEW YORK — A Guantanamo Bay detainee brought to the U.S. for trial on charges he helped the bombing of two U.S. embassies in Africa while he was an aide to Osama bin Laden cannot use allegations of torture by the CIA to dismiss the indictment, a judge said Monday.

U.S. District Judge Lewis Kap lan made the ruling in Manhattan after months of consideration of documents, much of their contents redacted, that were submitted by attorneys for Ahmed Khalfan Ghailani and the government.