ROCHESTER, N.Y. (AP) — The police chief of New York’s third-largest city has agreed to resign and will be replaced by a former deputy.

The surprise shake up at the Rochester, N.Y. police department unfolded Friday.

READ MORE: Suspected Human Remains Found In Florida Wildlife Preserve Where Authorities Are Searching For Brian Laundrie

Police Chief David Moore said he met with Mayor Robert Duffy about 3 p.m. and agreed to step down.

The mayor said the chief had done nothing wrong and praised him as a good man.

READ MORE: New York City Mayoral Candidates Eric Adams, Curtis Sliwa Meet For First Debate

Neither man gave a reason for the sudden resignation, which was reported by the Democrat and Chronicle newspaper.

Former Deputy Chief James Sheppard will take over as acting chief on Monday. Sheppard currently heads Rochester’s Office of Public Integrity.

Rochester has a population of 219,773. It is New York’s third most-populous city after New York City and Buffalo.

MORE NEWS: Mayor De Blasio Announces Vaccine Mandate For All New York City Municipal Workers, Including First Responders

(Copyright 2010 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)