Abu 'Abd Allah Muhammad ibn Ma'udh, who lived in Al-Andalus during the second half of the 11th century, wrote a work on optics later translated into Latin as Liber de crepisculis, which was mistakenly attributed to Alhazen. This was a "short work containing an estimation of the angle of depression of the sun at the beginning of the morning twilight and at the end of the evening twilight, and an attempt to calculate on the basis of this and other data the height of the atmospheric moisture responsible for the refraction of the sun's rays." Through his experiments, he obtained the value of 18°, which comes close to the modern value.