Brett Kavanaugh’s record on the Second Amendment was on display Wednesday as the Supreme Court heard arguments over bans on AR-15s and other assault-style semiautomatic weapons. His questions appeared to signal opposition to the Connecticut and Cook County, Illinois, restrictions, while also returning to his long-held emphasis on constitutional text, history and tradition.

Kavanaugh said that even if guns were banned in schools or throughout a state, people would still possess and use them. Justice Elena Kagan later said he had suggested he might not be persuaded by a ban on possession if someone could buy a gun elsewhere. Kavanaugh clarified: “I was suggesting that in making the point that schools can’t rely on laws to ensure that guns stay out of the hands of dangerous people.”

His approach echoes a 2011 dissent as a judge on the US Court of Appeals for the DC Circuit, when he opposed a ban on certain assault-style weapons in the District of Columbia. Kavanaugh acknowledged the motivation behind the laws and the region’s experience with gun, drug and gang violence, writing: “As one who was born here, grew up in this community in the late 1960s, 1970s, and 1980s, and has lived and worked in this area almost all of his life,” he was “acutely aware” of that violence and “greatly respect[ed] the motivation behind the D.C. gun laws at issue in this case.”

He added that judges must apply the Constitution and Supreme Court precedents regardless of whether they agree with the outcome as a matter of policy or first principles. In the 2011 case, known as Heller v. District of Columbia and sometimes called Heller II, Kavanaugh said judges should assess gun regulations “based on text, history, and tradition, not by a balancing test” tied to public safety.

On Wednesday, Kavanaugh’s questions focused on people who own AR-15s for self-defense or hunting, the number of such owners and Supreme Court precedents favoring gun rights. He also suggested schools could use measures such as magnetometers to keep people carrying semiautomatic weapons out.

Justice Amy Coney Barrett also appeared to be considering alternatives to prevent firearm violence, asking about “red flag laws” and whether semiautomatics could be barred from “sensitive spaces,” such as schools. Connecticut adopted its AR-15 prohibition after a lone gunman killed 20 first graders and six educators at Sandy Hook Elementary School in 2012.

If Kavanaugh and Barrett join Justices Clarence Thomas, Samuel Alito and Neil Gorsuch, the court would have a majority to invalidate the bans. That would extend a series of decisions since 2008 expanding the individual right to bear arms under the Second Amendment. Chief Justice John Roberts did not indicate his position during the arguments, though he has previously sided with Second Amendment advocates, including in the 2022 case that set the standard that gun restrictions must be “consistent with the Nation’s historical tradition of firearm regulation.”

Kavanaugh had advanced that historical-tradition approach before joining the Supreme Court in 2018, appointed by President Donald Trump. In New York State Rifle & Pistol Association v. Bruen, the court adopted the standard by a 6-3 vote. Thomas, who wrote the decision, cited Kavanaugh, including his observation that applying constitutional principles to new conditions can leave close questions at the margins.

The court’s 2008 ruling in District of Columbia v. Heller, which recognized an individual right under the Second Amendment, and the 2022 Bruen decision were central to Wednesday’s arguments. The three liberal justices pointed to deadly gun violence, particularly at schools. “An AR-15 is capable of killing a lot of people,” Justice Sotomayor said. “In seconds, double-digit number of people can be pulverized. Why can’t the legislature make the judgment that that kind of weapon is too dangerous to carry?”

Kavanaugh contrasted the possibility of attackers bringing guns into schools with the millions of Americans who own semiautomatics for self-defense. He asked US Solicitor General D. John Sauer: “What do we do with the fact that all guns are dangerous in the sense that a criminal who wants to commit a violent crime is going to be able to use any of these firearms that we’re talking about? At the same time, someone who wants to protect their house from an invader will appreciate having these dangerous weapons at their disposal.”

Sauer, representing the Trump administration and siding with the challengers, relied repeatedly on Kavanaugh’s writings in his brief. He cited Kavanaugh’s statement that Americans own AR-15s and other semiautomatic rifles for “self-defense in the home, hunting, target shooting, and competitions.” In court, Sauer echoed Kavanaugh’s question: “That’s why the judgment of the people is what matters here, not the judgment of the government,” he said. “The whole point of the Second Amendment is that it protects the people from being disarmed by the government and, again, all guns are lethal. That is baked into what the Second Amendment protects.”

The article also noted that an armed individual traveled from California to Kavanaugh’s home in 2022. The person apparently was trying to break in; court filings said the individual had brought a suitcase containing a Glock 17 pistol, two loaded magazines, additional ammunition and other equipment.