You know the drill. The party of adventurers come to town after a rough and tumble time in a dungeon and then they raise a little hell. You’ve seen it and you’ve probably done it. At first level, the city guard shows up and the party calms down or gets taken into custody. Put a few levels under their belts and those 1 HD guards are pretty useless. So if it’s a city of any size then there should be some heavy hitters at the city guard’s disposal.
The Captain of the Guard: Sure he’s better HD but that might not help too much.
Kindly Innkeeper Who Is A Retired Adventurer: He’s had his fill of your crap. Get off his lawn!
The Local Cleric: He’s already healed you and raised the thief from the dead but you aren’t messing up his town.
The Local Wizard: He’s reading his spell book. Do not disturb.
OK. That’s just some random ideas that popped into my head while writing this. But that is a good point. The city guard should always has some means to deal with unruly adventurers. If they didn’t practically every town that isn’t overrun by goblins would be burned to the ground by the same folks who ran off the aforementioned goblins.