"At issue is the meaning of the oddly constructed text: A well-regulated militia, being necessary to the security of a free State, the right of the people to keep and bear arms, shall not be infringed." The correct grammar leavess only a single comma.
See, e.g., Commas and the Second Amendment