The United Nations General Assembly formally approved a deal aimed at boosting global cooperation to tackle rising migration, but the United States, Israel, Hungary, Czech Republic and Poland voted against the voluntary pact.

U.S. President Donald Trump’s administration has said the global approach to the issue was not compatible with U.S. sovereignty and Washington did not take part in negotiations on the migration pact.

A U.N. General Assembly resolution enshrining the deal was adopted on Wednesday with 152 votes in favor, 5 votes against and 12 abstentions, while 24 countries did not vote.