Democratic presidential candidate Hillary Clinton speaks during a post-Super Tuesday rally in New York on March 2. Jewel Samad/AFP/Getty Images

The U.S. Justice Department has given immunity from prosecution to a State Department employee who helped set up and manage the private email server Hillary Clinton used for her work as secretary of state, the Washington Post reported on Wednesday.

A senior U.S. law enforcement official said the Federal Bureau of Investigation (FBI) had secured the cooperation of Bryan Pagliano, who worked on Clinton's 2008 presidential campaign before joining the State Department with her and setting up the server in her New York home in 2009, the newspaper reported.

The Post described the investigation as a criminal inquiry, a label Clinton and her staff have resisted as they seek to reassure voters that the frontrunner to become the Democratic Party's nominee in November's presidential election is not in legal jeopardy.

Clinton has said she did nothing wrong and that she believes the U.S. government will vindicate her. She has also apologized for what she said was poor judgment.

In 2014, Clinton returned about 30,000 emails to the State Department, but said she "chose not to keep" thousands of others her staff deemed not to be work-related. Her staff have acknowledged that other work emails were not handed over, without explaining why.

More than 2,000 of Clinton's work emails contain classified information that could harm national security if exposed, according the State Department, including 22 classified as 'top secret', the highest level. The government forbids sending or storing classified emails through unsecured, non-government channels, and has prosecuted people for breaches.

The Justice Department declined to comment on whether Pagliano had been granted immunity, and his lawyer, the FBI as well as spokesmen and a lawyer for Clinton did not respond to questions on Wednesday night.

Last month, a federal judge overseeing a civil lawsuit against the State Department ruled that department officials and aides to Clinton could be questioned under oath about whether her use of a private email system was an effort to skirt open records laws.

The ruling added to the uncertainty hovering over Clinton about the legal consequences of her unusual email arrangement.

The FBI is investigating the decision to use a private server and is likely to ask Clinton and her aides in coming months how it was set up and whether any of the participants knew they were sending classified information in emails, the Post reported.

Pagliano has declined to testify to lawmakers, citing a constitutional right against self-incrimination.