It was 1776, the American colonies had just declared their independence from England, and as war raged the founding fathers were deep in debate: should Americans have the right to own firearms as individuals, or just as members of local militia?
Days after 19 children and two teachers were shot dead in a Texas town, the debate rages on as outsiders wonder why Americans are so wedded to the firearms that stoke such massacres with appalling frequency.
The answer, experts say, lies both in the traditions underpinning the country winning its freedom from Britain, and most recently, a growing belief among consumers that they need guns for their personal safety.
Over the past two decades - a period in which more than 200 million guns hit the US market - the country has shifted from "Gun Culture 1.0," where guns were for sport and hunting, to "Gun Culture 2.0" where many Americans see them as essential to protect their homes and families.
That shift has been driven heavily by advertising by the nearly $20bn gun industry that has tapped fears of crime and racial upheaval, according to Ryan Busse, a former industry executive.
Recent mass murders "are the byproduct of a gun industry business model designed to profit from increasing hatred, fear, and conspiracy," Busse wrote this week in the online magazine The Bulwark.
Guns and the new nation
For the men designing the new United States in the 1770s and 1780s, there was no question about gun ownership.
They said the monopoly on guns by the monarchies of Europe and their armies was the very source of oppression that the American colonists were fighting.
James Madison, the "father of the constitution," cited "the advantage of being armed, which the Americans possess over the people of almost every other nation".
But he and the other founders understood the issue was complex. The new states did not trust the nascent federal government, and wanted their own laws, and own arms.
They recognised people needed to hunt and protect themselves against wild animals and thieves. But some worried more private guns could just increase frontier lawlessness.
Were private guns essential to protect against tyranny? Couldn't local armed militia fulfil that role? Or would militia become a source of local oppression?
In 1791, a compromise was struck in what has become the most parsed phrase in the constitution, the Second Amendment guaranteeing gun rights:
"A well regulated militia, being necessary to the security of a free state, the right of the people to keep and bear arms, shall not be infringed."
1960s gun control
Over the following two centuries, guns became an essential part of American life and myth.
Gun Culture 1.0, as Wake Forest University professor David Yamane describes it, was about guns as critical tools for pioneers hunting game and fending off varmints - as well as the genocidal conquest of native Americans and the control of slaves.
But by the early 20th century, the increasingly urbanised United States was awash with firearms and experiencing notable levels of gun crime not seen in other countries.
From 1900 to 1964, wrote the late historian Richard Hofstadter, the country recorded more than 265,000 gun homicides, 330,000 suicides, and 139,000 gun accidents.
In reaction to a surge in organised crime violence, in 1934 the federal government banned machine guns and required guns to be registered and taxed.
Individual states added their own controls, like bans on carrying guns in public, openly or concealed.
The public was for such controls: pollster Gallup says that in 1959, 60% of Americans supported a complete ban on personal handguns.
The assassinations of John F. Kennedy, Robert F. Kennedy and Martin Luther King, brought a push for strenuous regulation in 1968.
But gunmakers and the increasingly assertive National Rifle Association, citing the Second Amendment, prevented new legislation from doing more than implement an easily circumvented restriction on direct mail-order gun sales.
The holy Second Amendment
Over the next two decades, the NRA built common cause with Republicans to insist that the Second Amendment was absolute in its protection of gun rights, and that any regulation was an attack on Americans' "freedom".
According to Matthew Lacombe, a Barnard College professor, achieving that involved the NRA creating and advertising a distinct gun-centric ideology and social identity for gun owners.
Gun owners banded together around that ideology, forming a powerful voting bloc, especially in rural areas that Republicans sought to seize from Democrats.
Jessica Dawson, a professor at the West Point military academy, said the NRA made common cause with the religious right, a group that believes in Christianity's primacy in American culture and the constitution.
Drawing "on the New Christian Right's belief in moral decay, distrust of the government, and belief in evil," the NRA leadership "began to use more religiously coded language to elevate the Second Amendment above the restrictions of a secular government," Dawson wrote.
Yet the shift of focus to the Second Amendment did not help gunmakers, who saw flat sales due to the steep decline by the 1990s in hunting and shooting sports.
That paved the way for Gun Culture 2.0 - when the NRA and the gun industry began telling consumers that they needed personal firearms to protect themselves, according to Busse.
Gun marketing increasingly showed people under attack from rioters and thieves, and hyped the need for personal "tactical" equipment.
The timing paralleled Barack Obama becoming the first African American president and a rise in white nationalism.
"Fifteen years ago, at the behest of the NRA, the firearms industry took a dark turn when it started marketing increasingly aggressive and militaristic guns and tactical gear," Busse wrote.
Meanwhile, many states answered worries about a perceived rise in crime by allowing people to carry guns in public without permits.
In fact, violent crime has trended downward over the past two decades - though gun-related murders have surged in recent years.
That, said Wake Forest's Yamane, was a key turning point for Gun Culture 2.0, giving a sharp boost to handgun sales, which people of all races bought, amid exaggerated fears of internecine violence.
Since 2009, sales have soared, topping more than 10 million a year since 2013, mainly AR-15-type assault rifles and semi-automatic pistols.
"The majority of gun owners today - especially new gun owners - point to self-defence as the primary reason for owning a gun," Yamane wrote.