In 1919 several American states passed draconian firearms control laws with the intention of disarming one group - black American citizens.
This started in New York with the Sullivan Act, and was followed in other states including North Carolina where I live now. We have a "Pistol Purchase Permit" system which was established then, and which we're still working to eliminate. It was specifically established as an anti-black Jim Crow law in order to prevent blacks from having handguns.
A historical study based on contemporary reporting of the law was recently completed:
https://papers.ssrn.com/sol3/papers....act_id=2759091
Our state had a handgun registration law on the books in one county (Durham) which we got repealed 3 years ago. I had to go back to hardcopy of the laws to actually locate it since it had been codified in 1935. The way it was written, any citizen traveling through the county had to register their handgun, or they were in violation. In practice, it was only enforced against black citizens.
Time and again we have seen governments restrict the rights of one seemingly undesirable group of citizens or another through these schemes. It's why I look at all rights infringement with suspicion.
__________________

Igitur si vis pacem, para bellum -
- Therefore if you want peace, prepare for war.