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.
Ptolemy set up a public inscription at Canopus, Egypt, in 147 or 148. N. T. Hamilton found that the version of Ptolemy's models set out in the Canopic Inscription was earlier than the version in the Almagest. Hence the Almagest could not have been completed before about 150, a quarter-century after Ptolemy began observing.[pages needed]