In the Ordovician period (490 Ma to 445 Ma) the area was an embayment sloping down from the West African craton into the Tethys Ocean. It became a closed basin in the Late Carboniferous (320 Ma to 300 Ma). The basin has a steep northern edge against the Anti Atlas and more gently sloping southern edge.