Did you miss the fact that the right to keep and bear arms is a natural right, and this was a recognized legal right before the United States constitution was written? It’s not something that can be taken away by the Federal Government, the States, or anyone else, since it is one of those rights mentioned in the Declaration as inalienable.
Is the Constitution natural law?