The Almagest /ˈælmədʒɛst/ is a 2nd-century Greek-language mathematical and astronomical treatise on the apparent motions of the stars and planetary paths, written by Claudius Ptolemy (c. AD 100 – c. 170). One of the most influential scientific texts in history, it canonized a geocentric model of the Universe that was accepted for more than 1,200 years from its origin in Hellenistic Alexandria, in the medieval Byzantine and Islamic worlds, and in Western Europe through the Middle Ages and early Renaissance until Copernicus. It is also a key source of information about ancient Greek astronomy.