The Florida federal magistrate judge who signed off on a search warrant authorizing the FBI raid of former President Donald Trump’s Mar-a-Lago resort left the local US Attorney’s office more than a decade ago to rep employees of convicted pedophile Jeffrey Epstein who had received immunity in the long-running sex-trafficking investigation of the financier.

According to the outlet, Reinhart resigned from the South Florida US Attorney’s Office effective on New Year’s Day 2008 and went to work for Epstein’s cohorts the following day. Epstein.

Reinhart was later named in a civil lawsuit that accused him of violating Justice Department policies by switching sides in the middle of the Epstein investigation, suggesting he had used inside information about the probe to build favor with the notorious defendant.

Herald reported that Reinhart had represented several of Epstein’s employees — including, by Reinhart’s own admission to the outlet, Epstein’s pilots; his scheduler, Sarah Kellen; and Nadia Marcinkova, who Epstein once reportedly described as his “Yugoslavian sex slave.”

Kellen and Marcinkova were among Epstein’s lieutenants who were granted immunity as part of a controversial 2007 deal with federal prosecutors that allowed the pervert to plead guilty to state charges rather than federal crimes. Epstein wound up serving just 13 months in county jail and was granted work release.