Several egregious pieces of anti-gun legislation were defeated, including bills to criminalize private transfers of firearms and ban many commonly-owned standard capacity magazines.