Mauritania takes its name from the ancient Berber kingdom that flourished beginning in the third century BC and later became the Roman province of Mauretania, which flourished into the 7th century AD. However, the two territories do not overlap: historical Mauretania was considerably further north than modern Mauritania, as it was spread out along the entire western half of the Mediterranean coast of Africa.