The UN General Assembly has agreed on a deal to better manage the international flow of migrants and protect human rights. Diplomats from every country except the United States negotiated as global tensions on the issue continue to cause political upheaval and harsh anti-immigrant sentiment.

Known as the Global Compact for Migration - it will be formally adopted by world leaders in Morocco in December. The BBC's Nada Tawfik explains what’s in the agreement.