Yes, it was.
"It was in response to the concerns coming out of the Virginia ratification convention for the Constitution, led by Patrick Henry and George Mason, that a militia that was controlled solely by the federal government would not be there to protect the slave owners from an enslaved uprising. And ... James Madison crafted that language in order to mollify the concerns coming out of Virginia and the anti-Federalists, that they would still have full control over their state militias — and those militias were used in order to quell slave revolts. ... The Second Amendment really provided the cover, the assurances that Patrick Henry and George Mason needed, that the militias would not be controlled by the federal government, but that they would be controlled by the states and at the beck and call of the states to be able to put down these uprisings."
Historian: Carol Anderson
Spare me that NPR bullshit. The founders insisted guns, including cannons, are a secured right for people for 2 reasons:
1. To repel foreign invaders
2. to overthrow a tyrannical government
This has been covered a multitude of times. The ONLY reason you clowns want to associate guns with owning blacks is to remove the 2nd Amendment now that the courts have once again secured it.