FBI Deputy Director Andrew McCabe had no conflicts during the agency's investigation into Hillary Clinton's private email server use, according to FBI documents published Friday.

McCabe, who is expected to retire later this year, has been repeatedly accused of political bias by President Donald Trump and other Republicans in recent weeks.

Internal FBI documents published on the agency's website said that McCabe began his job as deputy director in February 2016.

That was three months after his wife, Jill McCabe, lost her Democratic bid for the Virginia State Senate.

Trump and other Republicans had charged that McCabe had a conflict because of his wife's candidacy, the Washington Examiner reports.

Trump tweeted last month that Jill McCabe accepted nearly $470,000 from a political action committee associated with Virginia Gov. Terry McAuliffe, a longtime ally of Hillary and Bill Clinton.

According to the FBI documents published Friday, Andrew McCabe had asked agency officials before his wife declared her candidacy in March 2015 if a conflict would occur.

McCabe, however, was an assistant director in the FBI's Washington Field Office, the Examiner reports.

"From the first contemplation that his wife would run for office in Virginia, [McCabe] sought out and consulted with ethics officers, which included briefings on the Hatch Act," the documents say.

Once Jill McCabe declared for office, the documents indicate, "there was a system of recusal put in place to prevent any real or potential conflicts of interest."

Further, the documents say that McCabe provided personnel resources to the FBI because of his role in the Field Office, though he "not told what the [Clinton] investigation was about."

Once McCabe became deputy director in February, he began overseeing the Clinton probe, according to the documents.

The FBI's inquiry began in July 2015.