The U.N. General Assembly has overwhelmingly approved the first U.N. treaty regulating the multibillion-dollar international arms trade.

The resolution adopting the landmark treaty was approved by a vote of 154 to 3 with 23 abstentions.

The 193-member world body voted after Iran, North Korea and Syria blocked its adoption by consensus at a negotiating conference last Thursday. The three countries voted “no” on the resolution.

The National Rifle Association has portrayed the draft treaty as a threat to gun ownership rights enshrined in the U.S. Constitution and has lobbied to defeat the proposal at the U.N. The NRA last week praised the Senate’s passage of an amendment to the Democratic budget proposal that would prevent the U.S. from entering into the treaty.

‘When the Constitution says, ‘the right of the people to keep and bear Arms, shall not be infringed,’ it means no one—including the UN—can infringe that right.’

– Greg Abbott, the Texas attorney general

The Obama administration, however, formally supported the U.N. treaty– despite the warnings from Senate lawmakers that they would not ratify it.