State takes over city finances