The Atlas Mountains, which are actually part of the same range as the Alps of Europe, were formed in two phases. The western Atlas mountains were formed first, while the eastern part was formed later, at about the same time as the Alps, which arose during the Oligocene and Miocene epochs (from 34 to 23 million years ago and from 23 to 5 million years ago, respectively).