The federal government sets gun control laws at the national level, but states and localities retain control over certain aspects of the purchase and ownership of firearms.
Federal gun laws
The Second Amendment guarantees Americans the right to bear arms while the Gun Control Act of 1968 provides federal regulation over firearm possession.