People forget that a lot of their western examples, are examples from frontier territories, which involves different levels of law, and obedience to law, and adherence to the constitution.
I would say soon after the first modern Democrat crawled out from under it’s rock.
The open carry of pistols was outlawed in Texas except under limited conditions just after the Civil War. Politicians were afraid of the populace.
The idea that there were a lot of crimes committed with machineguns and sawed off shotguns was just the latest in media driven laws.
It did not have any real basis in reality. Crimes with machineguns were vanishingly small in number. Crimes with pistols were, as now hundreds of times more common than crimes with sawed off shotguns.
The 1934 act was aimed directly at pistols. It failed in that, and we were left with the stupid leftovers.
http://gunwatch.blogspot.com/2015/01/batf-pistol-brace-letter-and-irrational.html
**Could one postulate that even earlier than that when some western towns required cow pokes to turn in their guns when they came to town after a long cattle drive?***
Only because the cowboys were from a Southern state. Locals in Kansas were still allowed to keep their guns, and often backed up the local law enforcement.
A few years ago, I read a reprint of an article by a former member of the 6th Calvary who was stationed near Tombstone.
The old trooper lived to be over a hundred and his opinion of Wyatt Earp and Doc Holliday was not very complimentary. I do recall he said Earp was a pimp and pinned on the badge when it was to his advantage. He described Doc Holliday as an insane killer.