Former U.S. Attorney Preet Bharara has endorsed Democratic Westchester County District Attorney candidate Mimi Rocah.

Bharara, who became a household name in New York for leading corruption cases against top lawmakers and a former close aide to Governor Andrew Cuomo, was a guest at a fundraiser for Rocah's campaign on Saturday in Scarsdale.

Rocah served as an assistant U.S. attorney in the Southern District of New York for eight of the 16 years Bharara led the office, considered the crown jewel of federal law enforcement.

“It is an honor to have Preet’s support as I run for Westchester DA. He has always been a mentor to me and he has shaped my view of how prosecutors should approach their job by his advice to ‘do the right thing, for the right reasons, in the right way,’ and by setting an example of integrity and fairness in his conduct," Rocah said.

"At every level of government, we can do more to restore the rule of law and address the damage done by the Trump Administration. I’m running for Westchester DA to be the proactive and effective DA our County needs to fight for the values, principles, and issues that define us as Democrats."

Rocah is running a primary challenge against incumbent Anthony Scarpino.

“There's no one better prepared to take on the job of Westchester District Attorney than my friend and former colleague, Mimi Rocah," Bharara said. "Mimi is a tough prosecutor who’s not afraid to take on violent criminals or corrupt politicians, but she’s also thoughtful and compassionate in her approach to justice. I appointed her to be the Justice Department’s top federal prosecutor in Westchester, and I absolutely trust her to be Westchester's (and my) next District Attorney."