During reconstruction, after the War of Northern Aggression, a lot of states had laws that prohibited freed slaves from owning or carrying firearms. After the passage of the 14th Amendment to the Constitution, some of these states simply did away with carry by anyone.
Somestates do not have a right to keep and bear arms in their state constitution. Some do, but alsoallow the statelegislature to regulatethe wearing of arms.
This might be a good place for you to start.