Computer consultant Peter Moore was freed after negotiations that also saw the U.S. military hand over to Iraqi custody an undetermined number of prisoners linked to a group blamed for the killing of five American soldiers .