First, the background:
The ruling by U.S. District Court Judge Reed O'Connor stemmed from a challenge to the ban brought by a Texas firearms dealer and a couple from the District of Columbia in July 2014.
The federal law prohibits a dealer from transferring a handgun, but not a rifle or shotgun, to an individual who does not live in the state in which the dealer's business is located. […]
Andrew and Tracey Hanson met with licensed firearms dealer Fredric Mance Jr. in Texas about buying two handguns, but did not complete the transaction because they could not take immediate possession of the weapons, according to court papers.
Federal law required Mance to transfer the handguns to a federally licensed dealer where the Hansons live, Charles Sykes in the District of Columbia, where they could complete the purchase after paying shipping and transfer fees.
The Hansons and Mance, all members of the Citizens Committee for the Right to Keep and Bear Arms, argued in their lawsuit in the U.S. District Court for the Northern District of Texas that the ban limits consumer choices and infringes on their rights.