The Montgomery County Council unanimously approved a bill on Tuesday banning the possession of firearms within 100 yards of a place of public assembly. 

The bill comes after the U.S. Supreme Court struck down a New York law that made it difficult to obtain a concealed carry permit, which invalidated similar laws in Maryland and other states. 

The new bill in Maryland's most populous county includes exemptions for law enforcement officers and security guards licensed to carry a firearm. It also doesn't apply to possession of firearms in a person's own home. 

Gun range

Monique Chapman shoots at a target during a live fire test to get a concealed carry permit at Maryland Small Arms Range in Upper Marlboro, MD on July 17, 2022.  (Robb Hill for The Washington Post via Getty Images)

Aside from those exceptions, it bans the possession of firearms in most public places, including "a park; place of worship; school; library; recreational facility; hospital; community health center; long-term facility; or multipurpose exhibition facility, such as a fairgrounds or conference center."

SUPREME COURT DECLINES TO HEAR ANOTHER CHALLENGE TO FEDERAL BUMP STOCK BAN

Council President Gabe Albornoz argued that guns "create immeasurably more problems, often with tragic outcomes, than they attempt to solve." 

"This legislation will help to ensure that we do everything possible to minimize the number of guns in our public space," Albornoz said in a statement. 

"I have confidence that the Maryland General Assembly will take action but given the urgency of gun violence in our community, I felt strongly that we could not wait at the local level." 

A concealed carry holster is displayed for sale at the Guntoberfest gun show in Oaks, Pennsylvania, U.S., October 6, 2017. REUTERS/Joshua Roberts - RC1ACCB8CE70

A concealed carry holster is displayed for sale at a gun show. (Reuters)

CLICK TO GET THE FOX NEWS APP

Local governments and state legislatures around the country have scrambled to enact new firearm legislation in the wake of the Supreme Court's June ruling in New York State Rifle & Pistol Association v. Bruen.