Carey Dunne, a longtime litigator at Davis Polk & Wardwell who was president of the New York City Bar Association, will become general counsel of the Manhattan District Attorney’s Office in January.

He will replace Benjamin Rosenberg, who is planning to leave the office to return to Dechert as a partner in its white-collar and securities litigation group.