France conquered the regency of Algiers from the Ottomans in 1830, and French rule spread south from Algeria and eastwards from Senegal into the upper Niger to include present-day Algeria, Chad, Mali then French Sudan including Timbuktu, Mauritania, Morocco (1912), Niger, and Tunisia (1881).