The controversy cost two elected officials and a city manager their jobs — and brought about a lawsuit.