Algeria’s modern borders with Mauritania, Mali and Niger) was agreed on 7 June 1905 by the Commandant of Upper Senegal and Niger and the Military Commander of the Department de l'Oasis within French Algeria, thus formally creating a short Algerian frontier with Spanish Saguia el-Hamra.