The International Court of Justice has concluded that in spite of some evidence of both Morocco's and Mauritania's legal ties prior to Spanish colonization, neither set of ties was sufficient to affect the application of the UN General Assembly Declaration on the Granting of Independence to Colonial Countries and Peoples to Western Sahara.