It took some time after the Civil War for the South to recover. Towns imposed martial law to maintain order and the "good guys" banded together against the criminals.
Django Unchained
The Good, the Bad and the Ugly
Unforgiven
Once Upon a Time in the West
For a Few Dollars More
Dances with Wolves
True Grit
A Fistful of Dollars
The Treasure of the Sierra Madre
Blazing Saddles