Democratic presidential candidate Hillary Clinton answers a question from an audience member at a town hall discussion with digital content creators at Neuehouse Hollywood on June 28, 2016 in Los Angeles.

WASHINGTON — The FBI interviewed Hillary Clinton on Saturday about her use of a private email server while she was secretary of state, her campaign announced after the meeting, as federal investigators neared the end of the probe that has hung over her White House bid.

Clinton, the Democratic presidential candidate, gave a voluntary interview for 3 1/2 hours at FBI headquarters in Washington, her campaign said.

“I’ve been eager to do it, and I was pleased to have the opportunity to assist the department in bringing its review to a conclusion,” Clinton said in describing the FBI session to NBC’s “Meet the Press” for an interview to air Sunday. She agreed that the tone of the session was civil and business-like.

Clinton said she had no knowledge of any timeline for the review and would not comment on whether she was given an indication that charges would not be filed.

Spokespeople for the FBI and the Justice Department declined to comment Saturday.

For Clinton, the interview indicates that the Justice Department’s yearlong probe is drawing to a close only four weeks before she is set to be formally nominated as the Democrats’ choice to succeed President Barack Obama.

Clinton’s FBI interview was expected, and it does not suggest that she or anyone else is likely to face prosecution. If Clinton and her aides are exonerated, it might help brush aside a major distraction throughout her campaign that has made many voters question her trustworthiness.

But as the past week shows, the case is complicated. Clinton sat down with the FBI just days after her husband, former President Bill Clinton, walked across a hot airport tarmac in Phoenix for an impromptu meeting with Attorney General Loretta Lynch and Lynch’s husband. The couple had just landed.

The nation’s top law enforcement official later expressed regret that she had met with the former president, whose plane was about to depart Phoenix, even though she said it was social in nature and they did not discuss the email review. Bill Clinton nominated Lynch as U.S. attorney for the Eastern District of New York in 1999.

Lynch said Friday that she intended to accept the findings and recommendations of career prosecutors who have spent months investigating the case. As far as the meeting with Clinton, she said in hindsight that she would not do it again.

An aide to Bill Clinton said Saturday that the former president recognized how others could view his meeting with Lynch and agreed with her that he would not do it again. The aide was not authorized to be named and issued the statement on condition of anonymity, in response to news media queries.

For her part, Hillary Clinton told NBC that she learned about the meeting between her husband and Lynch through the news media and described it as they did — “It was purely social” — and said they didn’t discuss the investigation.

“But obviously no one wants to see any untoward conclusions drawn, and they’ve said, you know, they would not do it again,” she said.

The meeting raised questions about its propriety given the investigation, and congressional Republicans have renewed calls for the appointment of a special prosecutor in the case.

Donald Trump, the Republican Party candidate, has repeatedly said the email issue undermines Clinton’s fitness for office, and he suggested she will receive leniency from a Democratic administration. Trump has called his opponent “Crooked Hillary” and said she cannot be trusted in the White House.

Following reports of Clinton’s FBI interview, Trump tweeted: “It is impossible for the FBI not to recommend criminal charges against Hillary Clinton. What she did was wrong! What Bill did was stupid!”

Republican National Committee Chairman Reince Priebus said in a statement that the FBI interview reinforces Clinton’s “central role in deliberately creating a culture which put her own political ambitions above State Department rules and jeopardized our national security.”

During the campaign, the former New York senator has argued that she is more trustworthy than Trump on handling the issues that matter to most Americans: foreign policy, national security and running the economy. But the investigation poses an unwelcome distraction just as Clinton has vanquished her primary rival, Vermont Sen. Bernie Sanders, holds a huge fundraising advantage over Trump and polls show her well-placed to become America’s first female president even as many voters question her honesty.

While she was Obama’s secretary of state, Clinton exclusively used a private email server for her government and personal emails, rather than the State Department’s email system. The Associated Press revealed the existence of the server in March 2015.

Clinton has said relying on a private server was a mistake but other secretaries of state had also used a personal email address.

The FBI is investigating the potential mishandling of sensitive information. The matter was referred last summer by the inspectors general for the State Department and intelligence community following the discovery of emails that were later determined to contain classified material.

Clinton has repeatedly said that none of the emails were marked classified at the time they were sent or received. As part of the probe, she has turned over the hard drive from her email server to the FBI.

The State Department’s inspector general, the agency’s internal watchdog, said in a blistering audit in May that Clinton and her team ignored clear warnings from State Department officials that her email setup violated federal standards and could leave sensitive material vulnerable to hackers. Clinton declined to talk to the inspector general, but the audit reported that Clinton feared “the personal being accessible” if she used a government email account.

Agents have already interviewed top Clinton aides including her former State Department chief of staff Cheryl Mills and Huma Abedin, a longtime aide who is the vice chairwoman of Clinton’s campaign.

The staffer who set up the server, Bryan Pagliano, was granted limited immunity from prosecution by the Justice Department and has also cooperated with federal investigators. The FBI as a matter of course seeks to interview individuals central to an investigation before concluding its work.

More in Election

Boulder County voters in November will be asked to extend an 0.185 percent sales and use tax to fund an alternative sentencing facility and programs as well as improvements to the county jail. County commissioners Tuesday morning are slated to take formal action to advance the issue to the ballot.

Benjamin Stapleton's notorious role as a member of the Ku Klux Klan, while serving five terms as mayor of the Mile High City in the first half of the 20th century, lurks just below the surface of this year's race for governor and presents pitfalls for the both Stapleton and his Democratic opponent, Jared Polis.