High noon
The Marshall wore a tin star in order to show his loyalty and solidarity towards protecting the town from the villain called Frank Miller together with his posse. In as much as he had good intentions, none of the town's people wanted to support him with his motive.