Amid growing pressure, New Zealand Prime Minister Jacinda Ardern on Friday abolished a policy that restricted refugees from the Middle East and Africa, The New York Times reports.

The decade-old rule had been set in place by New Zealand's previous administration and had long been viewed by refugee advocates as discriminatory.

ADVERTISEMENT

Under the policy, refugees from Middle Eastern and African countries were only allowed to enter New Zealand if they could show proof that a relative already lived in the country.

The move can be seen as a win for Ardern, who has been viewed globally as supporter of refugees and migrants since the Christchurch mosque shootings in March.

Additionally, New Zealand's quota for refugees will reportedly increase from 1,000 to 1,500 next year. Fifteen percent of that number will come from either the Middle East of Africa.

The reversal of policy sets New Zealand opposite of policies introduced by the United States and Australia.

Last week, President Trump Donald John TrumpFederal prosecutor speaks out, says Barr 'has brought shame' on Justice Dept. Former Pence aide: White House staffers discussed Trump refusing to leave office Progressive group buys domain name of Trump's No. 1 Supreme Court pick MORE announced a historic cut to the number of refugees that the U.S. will accept next year. The new limit, 18,000, is the lowest amount ever set by the country.

Australia's process of detaining refugees offshore has also been widely condemned.