New Zealand's geology can be simplified into three phases. First the basement rocks of New Zealand formed. These rocks were once part of the super-continent of Gondwana, along with South America, Africa, Madagascar, India, Antarctica and Australia. The rocks that now form the, mostly submerged, continent of Zealandia were then nestled between Eastern Australia and Western Antarctica. Secondly New Zealand drifted away from Gondwana and many sedimentary basins formed, which later became the sedimentary rocks covering the geological basement. The final phase is represented by the uplift of the Southern Alps and the eruptions of the Taupo Volcanic Zone.