Numidia is supplying Rome with grain, wine, fruits and olive oil. Vandals destroyed the Roman rule in North Africa, and the region was dissolved into many small kingdoms. The woman Kahina is leading the Berber resistance. They extend their kingdom to Spain. While the ruling structures were dissolved slowly, Algeria prospered economically and culturally.
Many Algerian ports prosper from income from sea piracy.
Spain starts taking over control of important ports in Algeria. Some of the most important ports remain Spanish for yet some decades. Algeria enjoys much freedom under the Ottomans, and continues to prosper from corsair activities. The old Roman name 'barbar', which they had used for all foreigners, is in this period used more and more for the people of North Africa, eventually naming the peoples of this region 'Berber'. Dutch attack on Algeria, weakening the military power of the country.