Although Americans today often think that gun control is a modern invention, the Founding era had laws regulating the armed citizenry. There were laws designed to ensure an effective militia, such as laws requiring armed citizens to appear at mandatory musters where their guns would be inspected. Governments also compiled registries of civilian-owned guns appropriate for militia service, sometimes conducting door-to-door surveys. The Founders had broad bans on gun possession by people deemed untrustworthy, including slaves and loyalists. The Founders even had laws
requiring people to have guns appropriate for militia service.
The 2nd Amendment of the U.S. Constitution