The U.S. Supreme Court has issued a ruling upholding the individual right to bear arms under the Second Amendment to the U.S. Constitution, striking down the Washington, DC, handgun ban that has been in effect since 1976 and potentially affecting other such bans across the country.

The Court stated unequivocally in its 5-4 ruling that the Second Amendment guarantees individuals, not just a formal militia, the right to own weapons and use them for self defense in the home and for other legal purposes. The court did not, however, find the right to bear arms to be unlimited. States and jurisdictions are still permitted to regulate gun sales, to limit the carrying of concealed weapons, to require licensing or other legal restriction on ownership of firearms, to prohibit carrying weapons in sensitive buildings like schools and courthouses, and limit gun ownership by felons and the mentally retarded.

From the ruling:

Undoubtedly some think that the Second Amendment is outmoded in a society where our standing army is the pride of our Nation, where well-trained police forces provide personal security, and where gun violence is a serious problem. That is perhaps debatable, but what is not debatable is that it is not the role of this Court to pronounce the Second Amendment extinct.

Read on for additional excerpts from the text of the ruling (PDF link).

From the introduction/summary:

1. The Second Amendment protects an individual right to possess a firearm unconnected with service in a militia, and to use that arm for traditionally lawful purposes, such as self-defense within the home. Pp. 2–53.

(a) The Amendment’s prefatory clause announces a purpose, but does not limit or expand the scope of the second part, the operative clause. The operative clause’s text and history demonstrate that it connotes an individual right to keep and bear arms. Pp. 2–22.

(b) The prefatory clause comports with the Court’s interpretation of the operative clause. The “militia” comprised all males physically capable of acting in concert for the common defense. The Antifederalists feared that the Federal Government would disarm the people in order to disable this citizens’ militia, enabling a politicized standing army or a select militia to rule. The response was to deny Congress power to abridge the ancient right of individuals to keep and bear arms, so that the ideal of a citizens’ militia would be preserved. Pp. 22–28.

[...]

2. Like most rights, the Second Amendment right is not unlimited. It is not a right to keep and carry any weapon whatsoever in any manner whatsoever and for whatever purpose: For example, concealed weapons prohibitions have been upheld under the Amendment or state analogues. The Court’s opinion should not be taken to cast doubt on longstanding prohibitions on the possession of firearms by felons and the mentally ill, or laws forbidding the carrying of firearms in sensitive places such as schools and government buildings, or laws imposing conditions and qualifications on the commercial sale of arms. Miller’s holding that the sorts of weapons protected are those “in common use at the time” finds support in the historical tradition of prohibiting the carrying of dangerous and unusual weapons. Pp. 54–56.

3. The handgun ban and the trigger-lock requirement (as applied to self-defense) violate the Second Amendment. The District’s total ban on handgun possession in the home amounts to a prohibition on an entire class of “arms” that Americans overwhelmingly choose for the lawful purpose of self-defense. Under any of the standards of scrutiny the Court has applied to enumerated constitutional rights, this prohibition—in the place where the importance of the lawful defense of self, family, and property is most acute—would fail constitutional muster. Similarly, the requirement that any lawful firearm in the home be disassembled or bound by a trigger lock makes it impossible for citizens to use arms for the core lawful purpose of self-defense and is hence unconstitutional. Because Heller conceded at oral argument that the D.C. licensing law is permissible if it is not enforced arbitrarily and capriciously, the Court assumes that a license will satisfy his prayer for relief and does not address the licensing requirement. Assuming he is not disqualified from exercising Second Amendment rights, the District must permit Heller to register his handgun and must issue him a license to carry it in the home. Pp. 56–64.