First he said he would invoke his Fifth Amendment rights but now the IT specialist, who set up Hillary Clinton's controversial private email server, is ready to cooperate with the FBI.

In doing so, Bryan Pagliano, 39, has been granted immunity by the Justice Department as it continues its criminal investigation into whether or not the current Democratic Presidential candidate mishandled classified information.

Pagliano, a former State Department employee and Clinton presidential campaign staffer, set up the server in 2009 at her New York home during her time as Secretary of State.

Scroll down for video

Flipped: IT specialist Bryan Pagliano (pictured right with Hillary Clinton and his wife Carrie) is now cooperating with the FBI in its investigation into Democratic Presidential candidate Hillary Clinton's private email server

All in the family: Bill Clinton posed for a photo as well with Pagliano and his wife. Pagliano set up the private email server in Hillary's New York home in 2009

The FBI will likely want to interview Clinton and her senior aides about the decision to use a private server as it hopes to wrap its investigation in the coming months, current and former officials told The Washington Post.

'There was wrongdoing,' said one official to the newspaper. 'But was it criminal wrongdoing?'

Pagliano said last year he would use his Fifth Amendment rights in order to not testify before the House committee on Benghazi.

At the time Brian Fallon, a spokesman for Clinton's presidential campaign, said: '(Clinton has) encouraged everyone to cooperate because we want to make every good-faith effort to be transparent and answer any questions people have.

Immunity: Bryan Pagliano (pictured last year) initially said he would invoke the Fifth Amendment

'With Mr. Pagliano, we encouraged him as well because we don't think he has any reason to not be transparent about the help that he provided from an IT perspective, but unfortunately, it is his choice what to do.'

Fallon tells The New York Times the campaign was 'pleased' that Pagliano was cooperating.

The New York Times also reports that in addition to the FBI investigation, there are continuing inquiries into Clinton's emails by the inspector general of the State Department, the inspector general of the intelligence agencies, the State Department's Bureau of Diplomatic Security and the House Select Committee on Benghazi.

Some Republicans are also concerned that Pagliano may have been doing private work for Hillary Clinton while on the public dime.

Pagliano lives with his wife Carrie, a physical therapist at Georgetown University Hospital, in the Washington D.C. suburb of Arlington, Virginia with their two children.

He worked as IT director for Clinton's presidential campaign in the 2008 Democratic primaries, when she lost the party's nomination to President Barack Obama.

He set up the private server in her home while still working for Hillary Clinton for President.

Clinton has apologized for the scandal admitting she should have used two email addresses

But within three months of President Obama appointing the former First Lady to his Cabinet, he jumped to a new post as special adviser at the Department of State.

Pagliano left the Department of State in 2013 to take up a new post as research director for the Washington-based IT company Gartner, specializing in government practice.

Clinton has since apologized for the email scandal.

'Yes, I should have used two email addresses, one for personal matters and one for my work at the State Department,' she said.

'Not doing so was a mistake. I'm sorry about it, and I take full responsibility.'

U.S. spy agencies told Congress last month that Hillary Clinton's home computer server contained some emails that should have been treated as 'top secret' because their wording matched sections of some of the government's most highly classified documents.

The agencies did not find any top secret documents that passed through Clinton's server in their full version, the sources from Congress and the government's executive branch said.