The governor of Connecticut announced Thursday that he intends to make his state the first in the nation to ban firearms purchases for people on federal watch lists, echoing President Obama’s call for such a measure after the recent spate of terrorist attacks.

Gov. Dannel P. Malloy, a Democrat, said he plans to sign an executive order requiring Connecticut State Police to cross-reference the names of anyone seeking a gun permit with databases such as the no-fly list or the terrorism watch list. Anyone on the lists would be denied permission to buy a range of firearms, and those with existing permits would have them revoked.

“Like all Americans, I have been horrified by the recent terrorist attacks in San Bernardino and Paris,” Malloy said in a statement. “I am taking this common-sense step with this executive order simply because it’s the right thing to do. It’s the smart thing to do. If you can’t fly without clearing government watch lists, you shouldn’t be able to buy a gun.”

Connecticut’s move would require federal approval, and federal officials said that would need to come from the Justice Department. A Justice spokesman said he was checking on the question but did not have an immediate comment. In his statement, Malloy said he is “working directly with federal officials” on his request and will sign the executive order when they approve.

It is unclear which of the multiple federal watch lists Connecticut would use if federal approval is granted. Malloy said it could be the no-fly list, the terrorism watch list or some combination.

In his statement, Malloy said his proposed executive order would mandate that people on federal watch lists be unable to purchase handguns, shotguns, rifles and ammunition. Connecticut – which passed a series of gun-control measures after 20 children and six adults were killed in a 2012 school shooting in Newtown – already outlaws assault weapons.

“Since Congress so far has failed to act, we will,” the governor said.

The move represents another step in the sharp partisan battle over gun control that has escalated since the recent terrorist attacks in Paris and San Bernardino, California. In his speech to the nation Sunday, Obama called on Congress to pass a federal law banning people on the government’s no-fly list from buying guns, as they are now able to do, among other gun-control measures.

There are about 47,000 people on the no-fly list, about 800 of whom are Americans. They are barred from boarding a U.S. carrier, a U.S.-bound flight or entering U.S. airspace.

“To begin with, Congress should act to make sure no one on a no-fly list is able to buy a gun,” the president said. “What could possibly be the argument for allowing a terrorist suspect to buy a semiautomatic weapon? This is a matter of national security.”

White House Press Secretary Josh Earnest reiterated that call at his daily briefing on Thursday, even as he declined to respond directly to the Connecticut governor’s proposed state measure. “I can’t speak to any of the specific conversations that Governor Malloy may have had with the White House, but I certainly wouldn’t contradict what he said,” Earnest said. “…We know there are many local and state officials across the country who are quite concerned about the impact of gun violence on the communities that they govern.”

But Earnest said the state-focused approach has “shortcomings.”

“When you’re passing local laws, sometimes it can be a little too easy for somebody to just drive outside that jurisdiction, purchase a firearm that may be prohibited … and carry out an act of violence,” he said. He added that Obama’s “commitment to keeping guns out of the hands of those who shouldn’t have them continues to be a part of his federal legislative strategy.”

Though Malloy issued the same call for congressional action, it is likely doomed on Capitol Hill. The idea of denying gun purchases to people on federal watch lists has always faced stiff opposition from the National Rifle Association, which argues that would unfairly infringe on the rights of U.S. citizens whose names were mistakenly included on the lists.

Any move to restrict gun rights is likely to spark serious pushback from pro-gun lawmakers, especially as the 2016 elections near. The Senate, for example, failed last week to pass a measure that would permit the attorney general to deny firearms licenses to known or suspected terrorists, while Republicans have blocked a vote in the House.