The U.S. military says 27 detainees who died in U.S. custody in Afghanistan and Iraq between 2002 and 2004 were the victims of homicide or suspected homicide.

In the report Friday, the Army Criminal Investigation Command said Army commanders have decided not to pursue charges against 17 American soldiers implicated in the deaths of three of the detainees.

The military says those cases were dropped because of lack of evidence, or soldiers used justified force or were not aware of the rules of engagement.

A number of soldiers are facing charges in the other detainee deaths.

Human rights groups have expressed outrage over mistreatment of detainees. The military says it takes the deaths seriously.

Some information for this report provided by AP.