Lawmakers in New Zealand voted almost unanimously on Wednesday to change gun laws, less than a month after 50 people were killed in Christchurch mosque attacks.
The parliament passed the gun reform bill by 119 to 1.
It must now receive royal assent from the governor general to become law.
"There have been very few occasions when I have seen parliament come together in this way, and I can't imagine circumstances when it is more necessary," Prime Minister Jacinda Ardern said.
Earlier, Ardern had banned the sale of all military-style semi-automatics (MSSA) and assault rifles just six days after the March 15 shooting.

7 killed as 6.3 magnitude earthquake hits northern Afghanistan
Hamas hands over three more hostage bodies
Israeli strike kills one in Gaza as sides trade blame for truce violations
UK police say mass stabbing on train not terrorist incident, two arrested
Israel urges Lebanon to disarm Hezbollah under ceasefire terms
Russian attacks on Ukraine kill two
Kenya landslide death toll rises to 22
Fire at store in northwestern Mexico leaves at least 23 dead
