The state law that tightened requirements for concealed carry of firearms in New York will be upheld despite a legal challenge to the measure, Gov. Kathy Hochul on Friday said. 

A federal judge on Thursday temporarily blocked some aspects of the law, including requirements for licensing and restrictions on where guns can be carried in areas deemed to be sensitive. The injunction takes effect in several days and state officials are appealing. 

"We believe the governor should have the right that was in place for 108 years to protect the citizens of our state," Hochul said during a stop in Rochester. "When the Supreme Court struck down the entire law, we knew we could continue to work. Whether it's on this law or entire gun laws, I believe people in this state deserve to be protected."

The law was approved earlier this summer in the wake of a Supreme Court ruling that found New York's strict concealed carry law was unconstitutional. The new measure is facing multiple legal challenges, including one from upstate churches who are contesting a ban on guns in houses of worship. 

U.S. District Court Judge Glenn Suddaby's ruling allows people will allow guns in houses of worship if the person is a designated security officer. 

"In time, we expect to see even greater relief from the courts," said the Rev. Jason McGuire, the executive director of New Yorkers for Constitutional Freedoms. "For now, we are thankful that a court has recognized that church leaders must be free to provide for the safety of their flocks.”

Suddaby's ruling suspends provisions in the law that require potential licenseholders to submit up to three years of social media posts, prove they have a good moral character and release names of close family members. The judge also lifted restrictions on carrying guns on non-government property like Times Square. 

The ruling was made in a lawsuit brought by the Gun Owners of America, which is seeking a broader challenge to the law.