New York (CNN) As a Jewish-American teen moving to South Bend, Indiana, in the 1960s, Jonathan Pollard immediately struggled to fit in.

The family moved so his father, Morris Pollard, could take a job as a virologist at Notre Dame. But the transition to the predominantly Christian community wasn't easy on the young Pollard.

He didn't know it then, but his need to connect and a growing commitment to Israel, combined with access to top-secret information, would turn him into one of the most notable spies to be convicted for passing information to Israel.

Now, at 61, Pollard has spent nearly half of his life in prison. On Friday, he will be released in North Carolina after 30 years in a prison and given an ankle monitor while he completes five years of parole in the United States.

Colleagues became suspicious of Pollard

Pollard described his life in Indiana as an "agonizing struggle between competing values," in a CIA report meant to assess the damage of his spying activities that was finally released to the public in 2012, 25 years after it was put together.

"I suddenly found myself confronting a community in which racism and bigotry were acceptable social practices," Pollard told investigators. "I was never able to establish friendships in my neighborhoods and was compelled to spend most of my time around the city's Hebrew Day School, where I felt at least physically safe and emotionally protected."

He left South Bend for college at Stanford University, and eventually became an intelligence research specialist at the Naval Ocean Surveillance Information Center in 1979.

That's where he worked when he was arrested in 1985.

At the time of his arrest, Pollard had clearance to access top secret information as an intelligence specialist, and worked as an analyst who looked into terrorist activities and instability -- mainly in North America and the Caribbean.

His commitment to Israel had grown since he attended science camp as a teen. After years working in the Navy intelligence community, he felt that his colleagues had anti-Israeli attitudes. That, he told investigators, is what influenced him to spy for Israel.

Photos: Spying on their own countries Photos: Spying on their own countries Spying on their own countries – Several American turncoats have been caught spying on their own countries while working at the CIA, the National Security Agency, the US State Department and the Pentagon. Here's a quick look at who got caught and how they were punished. Hide Caption 1 of 10 Photos: Spying on their own countries Harold James Nicholson – After what looked like a successful 16 years in the CIA, Harold James "Jim" Nicholson was caught selling secrets to Russia. He was convicted on espionage charges in 1997 and sentenced to 23 years in prison. In 2011, Nicholson's son Nathaniel was charged after meeting with Russian agents to collect money owed to his father. He was sentenced to five years probation. As a result, Harold Nicholson was sentenced to an additional eight years in prison on charges of conspiracy to act as an agent of a foreign government and conspiracy to commit money laundering. Hide Caption 2 of 10 Photos: Spying on their own countries Walter Kendall Myers – Retired US State Department analyst Walter Kendall Myers, left, pleaded guilty to wire fraud and conspiracy to commit espionage for Cuba in 2009. His wife, Gwendolyn Myers, right, pleaded guilty to conspiracy to gather and transmit national defense information. In 2010 Myers was sentenced to life in prison. His wife was sentenced to 81 months. Hide Caption 3 of 10 Photos: Spying on their own countries Ana Montes – American citizen Ana Montes worked for the Pentagon intelligence arm, the Defense Intelligence Agency, for 16 years before she was caught spying for Cuba. In 2002, she pleaded guilty to espionage and was sentenced to 25 years in federal prison. Hide Caption 4 of 10 Photos: Spying on their own countries Aldrich Ames – Aldrich Ames, a 31-year CIA employee, pleaded guilty to espionage charges in 1994 and was sentenced to life in prison. Ames was a CIA case worker who specialized in Soviet intelligence services and had been passing classified information to the KGB since 1985. US intelligence officials believe that information passed along by Ames led to the arrest and execution of Russian officials they had recruited to spy for them. Hide Caption 5 of 10 Photos: Spying on their own countries Jonathan Pollard – Jonathan Pollard is a divisive figure in US-Israeli relations. The former US Navy intelligence analyst was caught spying for Israel in 1985 and was sentenced in 1987 to life imprisonment. Previously, the United States and Israel discussed his possible release as part of efforts to save fragile Middle East peace negotiations, according to sources familiar with the talks. In 2015, Pollard was released on parole -- 30 years after his arrest. Hide Caption 6 of 10 Photos: Spying on their own countries Robert Hanssen – Robert Hanssen pleaded guilty to espionage charges in 2001 in return for the government not seeking the death penalty. Hanssen began spying for the Soviet Union in 1979, three years after going to work for the FBI, and prosecutors said he collected $1.4 million for the information he turned over to the Cold War enemy. In 1981, Hanssen's wife caught him with classified documents and convinced him to stop spying, but he started passing secrets to the Soviets again four years later. In 1991, he broke off relations with the KGB, but resumed his espionage career in 1999, this time with the Russian Intelligence Service. He was arrested after making a drop in a Virginia park in 2001. Hide Caption 7 of 10 Photos: Spying on their own countries John Walker – John Walker ran a father and son spy ring, passing classified material to the Soviet Union from 1967 to 1985. He was a Navy communications specialist with financial difficulties when he walked into the Soviet Embassy and sold a piece of cyphering equipment. Navy and Defense officials said that Walker enabled the Soviet Union to unscramble military communications and pinpoint the location of US submarines at all times. As part of his plea deal, prosecutors promised leniency for Walker's son Michael Walker, a former Navy seaman. Michael Walker was released in 2000 after serving 15 years in prison. John Walker died in prison in 2014 Hide Caption 8 of 10 Photos: Spying on their own countries Ronald Pelton – Ronald Pelton joined the super-secret National Security Agency, the US government's electronic intelligence arm, after serving in the Air Force's communications intelligence division. He resigned in 1979, but after running into financial trouble, he approached the Soviet Embassy in Vienna. He then began passing Moscow classified information, including details of a program that tapped undersea Soviet communications cables. He was exposed when his handler defected to the United States in 1985. Although he was sentenced to three concurrent life sentences, Pelton eventually was released in 2015. Hide Caption 9 of 10 Photos: Spying on their own countries Earl Pitts – Earl Pitts' job was to monitor suspected Soviet spies at the United Nations. But the veteran FBI agent soon began selling his secrets to the KGB, which he contacted in 1987, and its successor agencies after the Soviet Union collapsed. He got about $224,000 from the Kremlin before a Russian double agent tipped off US intelligence, and he was arrested in 1996. The federal judge who sentenced him to 27 years in prison -- more than prosecutors had requested -- told him, "You betrayed your country, you betrayed your government, your fellow workers and all of us, really." Hide Caption 10 of 10

Pollard interacted with high-ranking Israeli intelligence officials and gave them several suitcases worth of classified documents on Israel's Arab adversaries and military support they received from the Soviet Union in the course of a year and a half. The CIA report said Pollard's case "has few parallels among known U.S. espionage cases" and that he had "put at risk important U.S. intelligence and foreign policy interests."

The Navy intelligence unit became suspicious of his actions in the fall of 1985, because he was handling large amounts of classified information that had nothing to do with the regions he was assigned to. He was confronted after being seen taking classified materials out of the building.

Three days later, he and his wife, Anne Henderson Pollard, were arrested outside of the Israeli Embassy in Washington, D.C. after the Embassy refused to accept their request for asylum, according to the CIA.

Pollard pleaded guilty to one count of conspiracy to commit espionage. His wife pleaded guilty to conspiracy to receive embezzled government property and to being an accessory after the fact to possession of national security documents.

'Irrevocable damage has been done'

Pollard and the U.S. government agreed to a plea deal that if he and his then-wife cooperated, they would spare him a life sentence and she would receive a sentence of less than 10 years.

But Judge Aubrey Robinson rejected the plea deal, giving Pollard the maximum sentence, which in a federal cases is a mandatory minimum of 30 years.

Robinson cited the damage to U.S. national security caused by Pollard's leaks, as then-Defense Secretary Caspar Weinberger asserted in a classified memo to the court, according to CNN's Wolf Blitzer's book "Territory of Lies," which chronicled the case.

In the memo, parts of which were later declassified and published in Blitzer's book, Weinberger said he sought to "dispel any presumption that disclosures to an ally are insignificant; to the contrary, substantial and irrevocable damage has been done to this nation."

The memo noted that many documents that Pollard gave Israel were originals that included details on sourcing and the identifications of U.S. agents abroad, potentially putting them at risk.

"Unauthorized disclosures to friendly powers may cause as great a harm to the national security as to hostile powers because, once the information is removed from secure control systems, there is no enforceable requirement nor any incentive to provide effective controls for its safekeeping," Weinberger's memo said, according to Blitzer's book.

"Moreover, it is more probable than not that the information will be used for unintended purposes," the memo continued. "Finally, such disclosures will tend to expose a larger picture of U.S. capabilities and knowledge, or lack thereof, than would be in the U.S. interest to reveal to another power, even to a friendly one."

Pollard: 'Emotions ... got the better of me'

Family members spoke publicly, calling Pollard's sentence unjust. His father, Morris, told CNN in a 1999 interview that his son's attorneys were denied access to evidence against Pollard because the information was classified.

"Of course he's guilty and should be punished," his father said. "But not for a life sentence. Because he was not indicted for anything commensurate with that."

Pollard did say he regretted his actions in an interview with Israel's TV 2 in 1998. He wishes he had moved to Israel to offer his help instead of resorting to spying.

"The decision I made was based on fear and concern...those were emotions that got the better of me," he said. "I should have come home rather than take the steps that I did."

An Orthodox Jew, Pollard has said that he gave the secrets to Israel because he wanted to help the Jewish state and felt it was wrong that the U.S. would keep valuable information from an ally. However, it emerged that he earned $1,500-$2,500 a month for his spying.

Closing the door on a tangled past

Pollard hoped when he was released he would be free to leave the United States and join his wife back in Israel, but President Barack Obama said he would not intervene with the parole ruling and allow him to leave the country.

So Pollard has opted to spend the duration of his parole sentence in New York City.

After learning of his release in July, Pollard said through his lawyers that he "is looking forward to being reunited with his beloved wife Esther."

She spoke reporters in Jerusalem about her excitement regarding his release when it was announced.

"Jonathan has served his time right down to the very last day, to the very last minute," she said to reporters. "I'm relieved and I'm happy that our ordeal is finally coming to an end. I can hardly wait. I'm counting the days the hours the minutes the seconds until I can take him into my arms and we can close the door on the past behind us and begin to heal and to rebuild our lives."

His ex-wife, Anne, now lives in Israel, and posted to Facebook that she has prayed for his release.

"My life stopped that November day, when Jay and I were thrown out of the Israeli Embassy in Washington, D.C., into the awaiting arms of the FBI agents," she posted. "I have never forgotten the needless pain and suffering I experienced for years while I was incarcerated in U.S. prisons."

A number of top U.S. officials previously argued against releasing Pollard from his life sentences -- including President George W. Bush's vice president, Dick Cheney, and defense secretary, Donald Rumsfeld.