The governor of New Mexico took to Twitter on Tuesday and criticized a wave of "Second Amendment Sanctuary" resolutions passed by counties across the state.

More than half of the state's 33 counties have passed resolutions in opposition to a series of what they called gun control bills being considered by the state Legislature. Such “sanctuary” resolutions often say sheriffs should not have to enforce measures they consider unconstitutional. Officials have said the resolutions are symbolic in nature.

Gov. Michelle Lujan Grisham, a Democrat, criticized the movement in a series of Tweets: "A few law enforcement officers in this state have been making noise about how they won’t enforce gun safety measures because they don’t like them. That’s not how laws work, of course, and it’s not how oaths of office work either."

Grisham wrote she would continue to advocate for gun reforms, despite "NRA propaganda, rogue sheriffs throwing a childish pity party or bad-faith critics."

Opponents of the legislation – specifically a bill that would expand background checks on gun sales – have said it would violate the Second Amendment by requiring the creation of a statewide gun registry to facilitate background checks.

Feb. 28:U.S. House passes bill extending time for background checks for guns

Feb. 25:Dick's Sporting Goods CEO Ed Stack still takes tough stance on guns a year after Parkland

"I take an oath to uphold the constitution, and I enforce all lawful laws that do not infringe on my constitutional rights,” Mike Herrington, Chaves County Sheriff, told the USA TODAY Network.

Grisham disputed that position in her comments: "Background checks are constitutional. Courts have repeatedly upheld that. It’s not debatable."

House Minority Leader Jim Townsend, R-Artesia, said Grisham's comments incorrectly minimized the opposition to the legislation: “Thousands across New Mexico are filling county commission meetings to stand against her bills, I guess they’re ‘rogue’ too."

Among the gun bills advancing through the legislature:

House Bill 8 would require background checks for firearms sales, closing loopholes in current background check requirements.

House Bill 87 prohibits someone convicted of battery on a household member from having a firearm and would allow law enforcement to effectively "confiscate" any weapon belonging to a person who has an order of protection filed against them.

Grisham made national headlines in early February for her stance against President Donald Trump's assertion that there is a national security crisis at the southern border with Mexico. She withdrew the majority of National Guard troops deployed at the state's southern border on Feb. 5.

Contributing: Jessica Onsurez, Carlsbad Current-Argus; The Associated Press