Read the text and answer the question.
In District of Columbia v. Heller, the Supreme Court heard a challenge to District of Columbia law effectively banning carrying a handgun. The court affirmed that the law was unconstitutional.
Based on your knowledge of government, why was the law held to be unconstitutional?