The Supreme Court seemed split Wednesday on whether laws called assault weapons bans violate the Second Amendment as the justices weighed one of the country’s most contentious issues in firearms law.

The justices heard arguments in a pair of challenges to laws banning semiautomatic rifles like the AR-15 in Connecticut and the Chicago area, with implications for about a dozen states and multiple cities.

The case puts the court at the center of one of the most fraught firearm issues in the country. It comes four years after the conservative-majority court handed down a landmark 2022 ruling that expanded gun rights and sparked challenges to firearm laws around the country.

Four conservative justices on the nine-member court appeared inclined to find the laws violate the Second Amendment, while the court’s three liberals appeared inclined to uphold them. The case likely will turn on the votes of two other conservatives, Justice Amy Coney Barrett and Chief Justice John Roberts.