Any experts on US Firearms law/history willing to help me out?

I was just researching North Carolina gun laws and discovered they implemented a pistol permit law as part of the Jim Crow agenda. Essentially, it was about restricting Blacks from exercising their 2nd amendment rights since the process was controlled by the County Sheriff.