In the early Mesozoic Era, the main displacement of the African continent was from south to north, in the direction of Europe. The Atlantic Ocean was opening with high rates of expansion. This caused the uplift of the western part of Morocco, causing exposure of Precambrian and Paleozoic rocks, and prevented a continuous deposition of Mesozoic sediments in western Morocco.