From Reason:
When the Second Amendment was written, the idea that Americans had an individual right (and in some cases an obligation) to possess arms for defense of both themselves and the state was widely understood. It had roots in the rights won by the Glorious Revolution of 1688—rights that the American Revolution was dedicated to preserving.