Especially when you watch the press conferences you can practically see the mayors’ puppet strings being pulled by the police chief standing next to them. Chicago was exactly the same. They know who the real power is.
It used to be more common, but most places switched to appointment by the mayor or city council or city manager. Now it is mostly just a handful of scattered cities in a few states, with the exception of Louisiana where I believe they are still mostly elected.