Ptolemy wrote the Almagest.