This is an archived article that was published on sltrib.com in 2015, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

New York • The U.S. must release photographs showing abuse of detainees in Iraq and Afghanistan, a federal judge has ruled in a long-running clash over letting the world see potentially disturbing images of how the military treated prisoners.

U.S. District Judge Alvin Hellerstein's ruling Friday gives the government, which has fought the case for more than a decade, two months to decide whether to appeal before the photos could be released.

The American Civil Liberties Union (ACLU) has been seeking to make the photos, including images from the infamous Abu Ghraib prison in Iraq, public in the name of holding government accountable.

"The photos are crucial to the public record," said Jameel Jaffer, ACLU deputy legal director. "They're the best evidence of what took place in the military's detention centers."

The Defense Department is studying the ruling and will make any further responses in court, said spokesman Lt. Col. Myles Caggins III.

The fight over the photographs reaches back to the early years of the wars in Iraq and Afghanistan, and it invokes the images of abuse at Abu Ghraib, which sparked international outrage after they emerged in 2004 and 2006. It's unclear how many more photographs may exist. The government has said it has 29 relevant pictures from at least seven different sites in Afghanistan and Iraq, and it's believed to have perhaps hundreds or thousands more, Hellerstein said in a ruling in August. He said some photos that he had seen "are relatively innocuous while others need more serious consideration," and he has ruled that any images that would be released would be redacted to protect the identities of people in them.

Some photographs, taken by service members in Iraq and Afghanistan, were part of criminal investigations of alleged abuse. Some images show "soldiers pointing pistols or rifles at the heads of hooded and handcuffed detainees," then-Solicitor General — now Supreme Court Justice — Elena Kagan wrote in an appeal to the high court earlier in the case.

The government has long argued that releasing the photographs could incite attacks against U.S. forces and government personnel abroad. Officials have said that risk hasn't abated as the U.S. military role in Iraq and Afghanistan lessened.

"The danger associated with release of these photographs is heightened now," amid the rise of the Islamic State, Navy Rear Adm. Sinclair Harris, the vice director for operations for the Joint Chiefs of Staff, said in a December court filing. Islamic State, he said "would use these photographs to further encourage its supporters and followers to attack U.S. military and government personnel."

The ACLU said it was inappropriate to give the government that kind of censorial power.

"To allow the government to suppress any image that might provoke someone, somewhere, to violence would be to give the government sweeping power to suppress evidence of its own agents' misconduct," Jaffer said.