Yep, you read that right. This is from the opinion (pdf):

To summarize, we conclude that the Second Amendment protects an
individual right to keep and bear arms. That right existed prior to the
formation of the new government under the Constitution and was premised
on the private use of arms for activities such as hunting and
self-defense, the latter being understood as resistance to either
private lawlessness or the depredations of a tyrannical government (or
a threat from abroad).

And this from the HowAppealing.law.com Web site:

The majority opinion also rejects the argument that the Second
Amendment does not apply to the District of Columbia because it is not
a State. And the majority opinion concludes, “Section 7-2507.02, like
the bar on carrying a pistol within the home, amounts to a complete
prohibition on the lawful use of handguns for self-defense. As such, we
hold it unconstitutional.”

Some are questioning how strong this decision is.