Preet Bharara, the Manhattan U.S. attorney who was fired by President Trump after refusing to resign when asked earlier this month, will join New York University School of Law next month.

In an online post Tuesday, the university said Bharara has been hired as a distinguished scholar in residence and will begin his tenure April 1.

"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. 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," Bharara said in a statement.

Bharara, along with 45 other U.S. attorneys, was asked to resign by the Justice Department on March 10. After he refused, Bharara tweeted the next day that he had been fired. Firing Bharara represented a complete reversal for the Trump camp. In November, Bharara said Trump wanted to keep him on board.

Bharara said in a tweet Tuesday that his new role at NYU Law is "one way I plan to keep working hard on important issues I care about."