A majority of United Nations states voted to adopt a nonbinding global immigration pact on Monday, Morocco's foreign minister said.

Nearly 30 fewer governments joined the pact than had worked on crafting it, according to the minister, Nasser Bourita, Reuters reports.

There was no formal vote on the matter.

ADVERTISEMENT

The Global Compact for Safe, Orderly and Regular Migration was signed by every U.N. member except for the U.S. in July.

The agreement has come under fire from advocates of stricter immigration policy and national sovereignty.

The Trump administration said that the global approach to immigration does not work in the best interest of the United States.

At least six European Union members, most of which were at one point in the Soviet Union, have spurned the pact, according to Reuters.

On Sunday Chile also pulled out from the agreement, as Belgian Prime Minister Charles Michel saw the biggest party in his coalition resign over the accord.

Austria, the government that holds the U.N. presidency, withdrew in November as well.

The Austrian delegates said the pact would blur the line between legal and illegal immigration, compromising its own immigration policies and endangering national security.