A federal judge in Central New York on Monday temporarily blocked large swaths of New York's concealed carry law from being enforced amid a legal challenge by members of Gun Owners of America. 

The ruling comes on the eve of Election Day in the country and in New York as Gov. Kathy Hochul has touted her efforts to limit gun violence through new laws as well as a crackdown on illegal firearms flowing into the state. 

U.S. District Court Judge Glenn Suddaby in a 184-page preliminary injunction temporarily blocked the ability of officials to require people to submit social media data when applying for a concealed carry permit. At the same time, the ruling also no longer requires concealed carry applicants to prove they have "good moral character." 

And the judge's injunction limited the ability to bar legally carried guns in places like bars and public parks. 

The development allows the lawsuit challenging the measure to continue to move forward. 

The concealed carry law took effect on Sept. 1 after lawmakers and Hochul agreed to a package of changes to the pistol permit application process in the wake of a Supreme Court ruling that found a century-old law on the books was unconstitutional. 

Separate legal challenges have also been spawned by the law, including a challenge from churches to the provision against carrying firearms in houses of worship.