He claimed he was turned over to the C.I.A., which flew him to Morocco and turned him over to the Moroccan security service, who held him for 18 months and subjected him to an array of tortures, including beatings, 24-hour subjection to loud music, and cutting his penis and other body parts with a scalpel and then pouring stinging liquid on the wounds.