Updated

Guantanamo Bay prison authorities named Pakistan's main intelligence agency a terrorist organization along with Hamas and other international militant networks, according to leaked documents likely to damage already rocky relations between the spy body and the CIA.

The 2007 documents from the Guantanamo Bay prison were part of a batch of classified material released by the WikiLeaks website and included interrogation summaries from more than 700 detainees.

The publicity about the documents in Pakistan coincided with a visit here Monday by Gen. David Petraeus, top U.S. commander in Afghanistan.

Pakistan's Inter-Services Intelligence agency, which falls under the control of the country's powerful military, declined to comment, but it has consistently denied any ongoing links with Islamist militants.

The ISI is included in a list of more than 60 international militant networks, as well as Iran's own intelligence service, that appear in guidelines for interrogators at Guantanamo. It says the groups are "terrorist" entities or associations and say detainees linked to them "may have provided support to al-Qaida and the Taliban, or engaged in hostilities against U.S. and coalition forces."

The CIA and the ISI have worked closely together since the Sept. 11 terrorist attacks to hunt down al-Qaida operatives sheltering in Pakistan. But U.S. officials have often voiced suspicions that elements of the ISI were either linked to or supporting militants even as the two countries publicly talked of their alliance in the campaign against extremism.

Those suspicions appear to be bolstered in part by documents about some individual detainees that were first reported by the U.K.'s Guardian newspaper.

For instance, the profile of Harun Shirzad al-Afghani says the U.S. believes the detainee attended an August 2006 meeting that included a variety of militants as well as representatives of Pakistan's military and intelligence service. Those gathered decided to increase attacks in certain provinces of Afghanistan, the profile states, citing an unidentified letter.

The profile also states that al-Afghani claimed that an unnamed ISI officer paid $12,000 (1 million Pakistani rupees) to a militant involved in transporting ammunition to a weapons depot in eastern Afghanistan.

Relations between the U.S. and Pakistan hit a new low this year after an American CIA contractor shot and killed two Pakistanis he claimed were robbing him. Since then, the ISI has complained about American drones strikes along the Afghan border and the alleged existence of scores of CIA agents in the country without its knowledge.

In a rare public accusation last week, Adm. Mike Mullen, the chairman of the U.S. joint chiefs of staff, said the ISI had continued links to the powerful network of an Afghan warlord that has bases in a northwestern tribal region of Pakistan. Hours later, Pakistan's army chief, Gen. Ashfaq Parvez Kayani, rejected what he called "negative propaganda" by the United States.

Petraeus met with Kayani during his trip Monday, a U.S. Embassy statement said. It gave few details other than to say the two "discussed topics of mutual interest and ways to improve regional security."

Pakistani Prime Minister Yousuf Raza Gilani told Parliament late Monday that the country's civilian, military and intelligence leaders had taken steps to end any "trust deficit" with the Afghan government, which has also accused the ISI of meddling in its affairs in the past. Gilani made no direct reference to the classified documents.

Allegations of links between the ISI and Islamist militants date back to the 1980s, when Pakistan — along with the United States — was supporting the "Afghan Jihad" against the Soviet occupation in neighboring Afghanistan. These days, many analysts say the country wants to keep the militant commanders as potential allies in Afghanistan once the Americans withdraw.

___

Associated Press writers Nahal Toosi and Asif Shahzad contributed to this report.