Este sitio web fue traducido automáticamente. Para obtener más información, por favor haz clic aquí.

A federal judge in Maryland on Friday temporarily blocked part of a new state law that would restrict where gun owners can carry. 

U.S. District Judge George Russell III, an Obama appointee, ruled the state can’t ban guns in places where alcohol is sold, on private property without permission of the owner or at public demonstrations. 

The legislation is set to take effect Sunday. 

The judge’s ruling came after the law, which was a response to a 2022 U.S. Supreme Court decision that ended a requirement to show a need for a license to carry a concealed gun in public and led to more permits, was challenged by the NRA, Firearms Policy Coalition and state gun rights groups. 

MARYLAND COUNTY VOTES TO RESTRICT GUN POSSESSION IN MOST PUBLIC PLACES 

Maryland state house

A federal judge in Maryland on Friday temporarily blocked parts of a new state law with sweeping gun carry restrictions set to take effect Sunday.  (Brian Witte/Getty Images/File/Fox News)

Russell kept the bans on areas that could be considered "sensitive places" like schools, museums, state parks and mass transit. 

He based his decision on the 2022 Supreme Court ruling that limited New York gun legislation and said judges should look to historical legislation on gun restrictions for guidance. 

SUPREME COURT REJECTS NEW YORK GUN RETAILERS' BID TO BLOCK NEW CONCEALED CARRY LAWS

A picture of a man holstering a gun

A person with a holstered a gun. (iStock)

"While the NRA is pleased with the partial win, we will be continuing our challenges to the other so-called sensitive places that the court declined to enjoin," Randy Kozuch, executive director of the NRA-ILA, told the Washington Post. 

Maryland Gov. Wes Moore said in part his administration remains "committed to working vigorously with the state legislature, community leaders and all advocates to continue to bring down the scourge of gun violence," according to FOX 5

CLICK HERE TO GET THE FOX NEWS APP

The governor signed the legislation in May. 

The Associated Press and Reuters contributed to this report.