The National Rifle Association (NRA) on Saturday thanked Sen. James InhofeJames (Jim) Mountain InhofeOvernight Defense: Details on Senate's 0B defense bill | Bill rejects Trump plan to skirt budget caps | Backfills money for border wall | Defense chief says more troops could head to Mideast Senate panel rejects Trump plan to skirt budget caps, advances defense bill that backfills wall money Overnight Defense — Presented by Huntington Ingalls Industries — Trump nominates Shanahan as Pentagon chief | House panel advances bill to block military funds for border wall | Trump defends Bolton despite differences MORE (R-Okla.) for introducing an amendment during the Senate’s budget “vote-a-rama” to prevent the United States from entering into the United Nations Arms Trade Treaty.

The full Senate passed Inhofe’s amendment early Saturday morning on a 53-46 vote.

In a statement, Chris W. Cox, executive director of NRA’s Institute for Legislative Action, said the fight to oppose “any United Nations effort to undermine the constitutional rights of law-abiding American gun owners” has grown “more intense.”

“Thanks to the efforts of Senator Inhofe, we are one step closer to ensuring the UN will not trample on the freedoms our Founding Fathers guaranteed to us,” Cox said.

The U.N. Arms Trade Treaty would regulate international arms sales. Negotiations end on March 28.

The NRA, which has lobbied hard against the treaty, says it will restrict the domestic sale of firearms.

The Obama administration, which backs the treaty, has said its language would not affect domestic arms sales and would merely require the rest of the world to adopt America's already strong export controls.

“We’re negotiating a treaty that cedes our authority to have trade agreements with our allies in terms of trading arms,” Inhofe said. “This is probably the last time this year that you’ll be able to vote for your Second Amendment rights.”