PESHAWAR, Pakistan -- A Pakistan doctor who assisted the CIA in tracking down Osama bin Laden was sentenced to 33 years in prison for conspiring with an Islamist militant commander, a verdict that could make it more difficult for Washington to argue for his release.

The judgment against Shakil Afridi debunked the widely held assumption that he had been convicted for his involvement with the American spy agency.

The decision referred to unspecified evidence that Afridi had "acted" with foreign intelligence agencies, but went on to say any charges related to that couldn't be considered because the court didn't have jurisdiction. The Associated Press obtained a copy of the five-page document, first reported by Pakistan's Dawn newspaper, on Wednesday.

Earlier this week, Afridi's family and lawyers said he was innocent and would appeal, but said they had not yet seen the court verdict. They refused to comment on his relations with the CIA. The trial was carried out in a court in the country's tribal regions close to Afghanistan. A political official, in consultation with tribal elders, ruled on the case in secret.

The United States has called for Pakistan to release Afridi, and his punishment has become another flashpoint issue in the fractured relations between the two countries. Pakistan's army was outraged by the unilateral U.S. raid that killed bin Laden in May 2011 because it was a violation of the country's sovereignty and added to perceptions it was a sponsor of terror.

Afridi ran a vaccination campaign on behalf of the CIA to collect blood samples from bin Laden's family at a compound in Abbottabad where U.S. commandos killed the al-Qaida leader. It was unclear whether he succeeded, but U.S. officials have publicly said he helped the effort to track bin Laden.

The fact Afridi was technically convicted for militancy, not helping the CIA, could complicate Washington's efforts to press for his release. Pakistan could argue that his trial was an internal matter that has nothing to do with the United States.

The verdict said Afridi was guilty of conspiring with a militant group led by commander Mangal Bagh. It said he gave money to the group and treated its leaders at a hospital in Khyber when he was stationed there. According to unnamed witnesses, he did this because of his "deep affiliation with the group." Others, also unnamed, said the group planned terrorist attacks in Afridi's office.

The verdict, which was passed down last week, found Afridi guilty of "conspiring against the state" and other charges.

Pakistani officials didn't attempt to correct widespread reports that the charges referred to his work with the CIA. The verdict triggered anger in the United States and elsewhere, with many questioning how helping kill bin Laden – a sworn enemy of Pakistan – could be seen as working against the state.

The full text of the verdict means Pakistan can now, technically at least, deflect that criticism.

Afridi's motivation for working with the CIA or whether he was aware who was employing him has never been established. He was once the top medical officer in the Khyber region.

Speaking last week, a friend said he had once been kidnapped by Mangal Bagh's group and paid a heavy ransom for his release. The friend didn't give his name because he didn't want to attract attention to himself.

Photos: Bin Laden compound discoveries
Loading Slideshow...
  • Marijuana

    A stroll around the 20-foot-tall, barbed wire led CNN's Nic Robertson to <a href="http://www.huffingtonpost.com/2011/05/05/osama-bin-laden-marijuana-crop_n_858301.html" target="_hplink">discover</a> a crop of marijuana plants just yards from the home. But whether or not bin Laden and his family were growing the weed for recreational purposes remains a mystery, and it has long been speculated that the Al Qaeda leader suffered from kidney failure, which would allow him to get a prescription for medical marijuana in many U.S. states.

  • Pornography

    As Reuters is <a href="http://www.huffingtonpost.com/2011/05/13/osama-bin-laden-porn_n_861664.html" target="_hplink">reporting</a>, a "fairly extensive" stash of "modern, electronically recorded" pornography was found in the compound, according to U.S. officials who spoke on condition of anonymity.

  • 'Natural Viagra'

    The <a href="http://www.huffingtonpost.com/2011/05/09/osama-bin-laden-avena-sativa-syrup-natura_n_859436.html" target="_hplink">discovery</a> of Avena syrup -- a botanical product often used as "natural Viagra" -- at bin Laden's compound has raised questions about whether or not the Al Qaeda leader or his associates were trying to boost their libidos. Also known by the nickname "wild oats," Avena Sativa syrup has two potential uses: to increase sexual desire, and as artificial sweetener used for a sour stomach.

  • Diary

    Navy SEALs <a href="http://theweek.com/article/index/215259/top-5-revelations-from-bin-ladens-diary" target="_hplink">reportedly</a> swiped the terrorist's short journal from his Pakistani compound. The al Qaeda leader is said to have mused about mass murder, <a href="http://www.huffingtonpost.com/2011/05/13/osama-bin-laden-obama-_n_861598.html" target="_hplink">naming </a>his number one target as President Obama, followed by U.S. military leaders including the defense secretary and the chairman of the Joint Chiefs of Staff. Interestingly, bin Laden noted that U.S. Vice President Joe Biden "was not an important target because that position has less weight."

  • No Internet Access

    As the <em>Washington Post</em> is <a href="http://www.washingtonpost.com/blogs/blogpost/post/osama-bin-ladens-doting-wives-secret-e-mail-system-and-other-secrets-revealed/2011/05/13/AFTdOX2G_blog.html" target="_hplink">reporting</a>, the compound lacked Internet access, so bin Laden would communicate though an "elaborate pass-the-buck" system by typing a message on his computer which would then be saved to a flash drive and given to a trusted courier, who would drive it to far-off Internet cafes and return with incoming e-mail.

  • Soft Drinks

    Bin Laden may have hated the United States, but that didn't stop him from <a href=" Read more: http://www.dailymail.co.uk/news/article-1383429/Osama-Bin-Laden-dead-Marijuana-grew-near-luxury-compound-Abbottabad.html#ixzz1MG1HF265" target="_hplink">reportedly </a>indulging in plenty of Coca-Cola and Pepsi -- products that are often associated with the Western commercialism the al Qaeda leader is said to have despised.