People don't realize how well paid cops are. In a lot of municipalities the highest paid officials will be dominated by police.
My mother and step-father were both state cops. They put in about 30 years each, but could have retired after 20 years in. They make more in retirement than my wife and I do. It pays quite well, but it comes with significant risks.
And the police budget as a whole is often the top line item.