Former Onondaga County Court Judge Joseph Fahey will come out of retirement to become Syracuse’s new corporation counsel beginning Jan. 1.

Mayor Stephanie Miner said Fahey has agreed to head the city’s Department of Law in 2017, Miner’s last year in office. The two-term Democratic mayor is being forced by a local term limits law to step down at the end of next year.