Although the residents are initially taken aback by a Black sheriff, they eventually accept him and his perpetually drunk gunfighter sidekick (Gene Wilder) after realizing that they’re the only defense they have against a gang of thugs sent to drive the people out of town to make way for a new railroad.