The former United States Attorney was fired from his position earlier this month. View Full Caption DNAinfo/Jefferson Siegel

GREENWICH VILLAGE — Preet Bharara, who was fired from his position as a United States Attorney after refusing to resign earlier this month, will join New York University's School of Law as a distinguished scholar in residence, the school announced Tuesday.

“I am honored to join the NYU School of Law, one of the great educational institutions in America, and I welcome the chance to contribute in such a thoughtful setting," he wrote in an announcement on the school's website.

"I am thrilled for this opportunity to continue addressing the issues I so deeply care about — criminal and social justice, honest government, national security, civil rights, and corporate accountability, to name a few."

He said the new role, which he begins on April 1, will allow him to continue working on the issues that mattered to him.

This is one way I plan to keep working hard on important issues I care about @nyulaw pic.twitter.com/I0QjREV2Oy — Preet Bharara (@PreetBharara) March 21, 2017

Bharara was appointed as the federal prosecutor in the Southern District by then-President Barack Obama in 2009 and litigated many high-profile cases against elected officials and Wall Street bosses.

He won convictions in public corruption cases against New York State Assemblyman Sheldon Silver and State Senator Dean Skelos, and also brought insider trading charges against Bernie Madoff.

Bharara was fired from his position on March 11 by President Donald Trump's team, he said.

Bharara has been a frequent visitor to NYU Law, and was the school's convocation speaker in 2015, officials said.