Analysis of information sources in references of the Wikipedia article "Western (genre)" in English language version.
By the 1840s, of course, adults were already reading tales of adventure involving Red Indians
[T]he principal archetype of the genre, the Western hero, is analyzed within the context of his various personas: the chivalrous cowboy, the honorable marshal, the lone crusader, and the rebel outlaw... He is more comfortable living in the open fronteir than in the cities, and most importantly, he does not conform to the laws and customs of civilized society. He answers only to his own code of honor and enforces his own personal brand of justice... [W]riters established the cowboy hero as the legendary icon of the West. They dressed him in chaps and a ten-gallon hat, straddled him atop a horse, armed him with a revolver, and set him loose on the Western plains.