> 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.
IANAL but it seems like it applies to people not militias
Wikipedia gives some historical context which makes it seem more clear that it's about people not state-run militias:
> Samuel Adams proposed that the Constitution: "Be never construed to authorize Congress to infringe the just liberty of the press, or the rights of conscience; or to prevent the people of the United States, who are peaceable citizens, from keeping their own arms; or to raise standing armies, unless when necessary for the defence of the United States, or of some one or more of them; or to prevent the people from petitioning, in a peaceable and orderly manner, the federal legislature, for a redress of their grievances: or to subject the people to unreasonable searches and seizures."
IANAL but it seems like it applies to people not militias
Wikipedia gives some historical context which makes it seem more clear that it's about people not state-run militias:
> Samuel Adams proposed that the Constitution: "Be never construed to authorize Congress to infringe the just liberty of the press, or the rights of conscience; or to prevent the people of the United States, who are peaceable citizens, from keeping their own arms; or to raise standing armies, unless when necessary for the defence of the United States, or of some one or more of them; or to prevent the people from petitioning, in a peaceable and orderly manner, the federal legislature, for a redress of their grievances: or to subject the people to unreasonable searches and seizures."