Jonathan Pollard, the former US naval intelligence analyst whose spying-for-Israel conviction stoked fierce international passions, will be set free after nearly 30 years.

The decision to free Pollard, 60, from his life sentence, announced by his lawyers and confirmed by the US Justice Department, caps an extraordinary espionage case after decades of legal and diplomatic wrangling.

Critics have condemned the American as a traitor who betrayed his country for money and disclosed damaging secrets, while supporters have argued that he was punished excessively given that he spied for a US ally.

Pollard is due to be released on parole on November 21, three decades after he was arrested while trying to gain asylum at the Israeli embassy in Washington.

Though the Jewish American community has wrestled with how much leniency he should get, Israelis have long campaigned for his freedom. The government has recognised him as an Israeli agent and granted him citizenship.

"We are looking forward to his release," prime minister Benjamin Netanyahu said.

White House officials strongly denied that the release was in any way tied to the nuclear deal recently reached with Iran, or that it was intended as a concession to Israel.

Secretary of state John Kerry, who spoke before Congress on the nuclear deal, said Pollard's parole was "not at all" connected and Israeli officials have said that while they would welcome the release, it would not ease their opposition to the Iran agreement.

The US had previously dangled the prospect of his release, including during Israel-Palestinian talks last year, when the Obama administration considered the possibility of freeing Pollard early as part of a package of incentives to keep Israel at the negotiating table. As it turned out, the peace effort collapsed and nothing came of the proposal.

The Justice Department noted that federal sentencing rules in place at the time of Pollard's prosecution entitled him to parole after 30 years of his life sentence. Department lawyers did not contest his parole bid, which was granted following a hearing this month before the US Parole Commission.

Though parolees are required for five years after their release to obtain government permission for foreign travel, Pollard's lawyers say they intend to ask President Barack Obama to grant him clemency as well as authority to leave the United States and move to Israel immediately.

But the White House quickly shot down that prospect, saying Pollard had committed "very serious crimes" and would serve his sentence under the law.

"The president has no intention of altering the terms of Mr. Pollard's parole," said Alistair Baskey, a spokesman for the White House's National Security Council.

In Israel, Mr Netanyahu said: "Throughout his time in prison, I consistently raised the issue of his release in my meetings and conversations with the leadership of successive US administrations."

"Immense joy", Israel's justice minister Ayelet Shaked wrote on her Facebook page in Hebrew, adding that "thirty years of suffering will come to an end this November".

Pollard has faced health problems in recent years. He is being held in the federal prison in Butner, North Carolina, and his lawyers said they have secured housing and a job for him in New York once he is released. They said he was "looking forward to being reunited with his beloved wife Esther".

The Pollard prosecution represented one of the most sensational and divisive spy cases in recent American history.

His supporters maintain that he provided information critical to Israel's security interests at a time when the country was under threat from its Middle East neighbours, but prosecutors and many in the US intelligence community have long maintained that his disclosure of voluminous classified documents constituted a criminal breach on par with that of America's most infamous spies.

The US says Pollard provided reams of sensitive and classified information to Israel, including about radar-jamming techniques and the electronic capabilities of nations hostile to Israel, including Saudi Arabia.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.