The captain of the guard, or often called town constable, is anything from a liar to a coward. However, one thing he is not. An idiot. He always makes sure he has enough of his boys around him for protection.
Since his position as constable is "electable" by the general populace, he always has a plan handy to make sure he wins: from portraying himself as a heroic defender of the townsfolk to having the town guards round up all the drunks from the innhouses and "assisting" them in casting their vote at the town hall. He has some sort of agreement with Bill the butcher on this.
And then there is his hat, as well.