 Glaciation began at the end of the Devonian period (360 Ma) as Gondwana became centered on the South Pole and the climate cooled, though flora remained.During the Permian period the plant life became dominated by fern-like plants such as "Glossopteris", which grew in swamps.Over time these swamps became deposits of coal in the Transantarctic Mountains.