On 27 June 1900 France and Spain signed a treaty which created a border between Rio de Oro and French West Africa starting at Ras Nouadhibou and terminating at the junction of the 12th meridian west and the 26th parallel north (i.e. the bulk of the modern Mauritania–Western Sahara border).[1][2] This boundary was then extended by a treaty of 3 October 1904 north up to what is now the tripoint with Algeria and then west along the parallel of 27°40'N, this latter line forming the modern Morocco-Western Sahara boundary; the new Spanish territory thus formed was named Saguia el-Hamra.[3][2] Another Franco-Spanish treaty was signed on 27 November 1912 which created a French protectorate over most of Morocco, whilst ceding parts of the country to Spain viz. the Mediterranean littoral (the 'Northern Zone', or more commonly Spanish Morocco), the exclave of Ifni and the Cape Juby/Tarfaya Strip (aka the 'Southern Zone'), the latter forming what is now the far south of Morocco proper, between the Draa River and the Saguia el-Hamra border at 27°40'N agreed upon in 1904.[3][2]