WASHINGTON (CBSDFW.COM/AP) — The Supreme Court is rejecting a challenge to federal regulation of gun silencers, just days after a gunman used one in a shooting rampage that killed 12 people in Virginia.

The justices did not comment Monday in turning away appeals from two Kansas men who were convicted of violating federal law regulating silencers. The men argued that the constitutional right “to keep and bear arms” includes silencers.

READ MORE: Appeals Court Upholds Former Dallas Officer Amber Guyger's Murder Conviction

Kansas and seven other states joined in a court filing urging the justices hear the appeal. The states said the court should affirm that the Second Amendment protects “silencers and other firearms accessories.”

The other states joining Kansas in the court filing are: Texas, Idaho, Louisiana, Montana, South Carolina, Arkansas and Utah.

President Donald Trump’s administration asked the court to stay out of the case and leave the convictions in place.

Shane Cox, owner of a military surplus store, was convicted of making and transferring an unregistered silencer, and customer Jeremy Kettler was convicted of possessing one, all in violation of the 85-year-old National Firearms Act. Both men were sentenced to probation.

READ MORE: Many Texas Parents Choosing To Homeschool Amid Continued Concerns Over COVID-19

Meanwhile, police are trying to determine a motive for the deadly shootings in Virginia Beach, Virginia. Authorities have said that city employee DeWayne Craddock opened fire in a municipal building on May 31. Police say Craddock was armed with two semi-automatic handguns, a silencer and extended ammunition magazines.

Craddock later was killed in a shootout with police.

Since President Trump’s election,  many gun-rights advocates have felt emboldened for the first time in nearly a decade, while some gun-control activists fear the unraveling of restrictions on firearms.

The gun lobby supports an easing of restrictions on silencers.

MORE NEWS: Dallas ISD Stocking Each Campus With COVID-19 Rapid Tests: 'We Are Hoping To Have A Safe Start To School'

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)