Hundreds of films and television series were produced in the middle of the twentieth century on the theme of the lone gunman saving a town. An isolated frontier town is in trouble, usually from marauders who are stealing cattle and menacing women and children. A rugged, handsome hero rides in and saves the town.
The variations are endless. The troublemakers may be from the town or from outside. They are often nonwhite and the town primarily white, with a few people of color scattered in. The leadership of the town, usually white men, are ineffective or injured. The hero is white and may, as in the case of the Lone Ranger, have a nonwhite sidekick. He may become romantically involved with one of the women of the town, but he seldom stays. The narrative is gendered and racialized.