The age of one of Earth's largest and most complex types of sand dune has been calculated for the first time, the BBC reports. Star dunes—or pyramid dunes—are named after their distinctive shapes and reach hundreds of meters in height. They are found in Africa, Asia and North America, as well as on Mars - but experts had never before been able to put a date on when they were formed. Now scientists have discovered that a dune called Lala Lallia in Morocco formed 13,000 years ago. Star dunes are created by opposing winds that change direction. Understanding their age helps scientists understand those winds and unpick the climate of that era, says Prof Geoff Duller at the University of Aberystwyth, who published the research with Prof Charles Bristow at Birkbeck University. Lala Lallia (an indigenous Amazigh name meaning highest sacred point) is located in the Erg Chebbi sand sea in south-east Morocco. It is 100m high and 700m wide with radiating arms. After its initial formation, it stopped growing for about 8,000 years and then quickly expanded in the past several thousand years. The scientists used a technique called “luminescence dating” to work out the age of the star dune. The method calculates when the grains of sand were last exposed to daylight. Samples of sand were taken in the dark from Morocco and analyzed in a lab in dim red light conditions similar to an old-fashioned photography workshop. Prof Duller describes the mineral grains in the sand as "little rechargeable batteries". They store energy within the crystals that comes from radioactivity in the natural environment. The longer the sand is buried under ground, the more radioactivity it is exposed to and the more energy it builds up. When the grains are exposed in the lab, they release the energy in light form and scientists can calculate their age. "In our dark laboratory, we see light from these sand grains. The brighter the light then the older the sediment grains and the longer it is since they've been buried," says Prof Duller.