The U.S. Supreme Court on Tuesday announced that it will decide if states and cities can bar people from owning semiautomatic weapons.

The Supreme Court has agreed to hear a “gun rights” challenge to state bans on weapons like the AR-15.

A Supreme Court that has expanded gun rights will consider whether bans on semiautomatic rifles often called assault weapons violate the Second Amendment.