exceptions, were named Ptolemies until Egypt became a Roman province in 30 BC, ending the Macedonian family's rule. The name Claudius is a Roman name, belonging to the gens Claudia; the peculiar multipart form of the whole name Claudius Ptolemaeus is a Roman custom, characteristic of Roman citizens. Several historians have made the deduction that this indicates that Ptolemy would have been a Roman citizen. Gerald Toomer, the translator of Ptolemy's Almagest into English, suggests that citizenship was probably granted to one of Ptolemy's ancestors by either the emperor Claudius or the emperor Nero. The 9th century Persian astronomer Abu Ma'shar al-Balkhi mistakenly presents Ptolemy as a member of Ptolemaic Egypt's royal lineage, stating that the descendants of the Alexandrine general and Pharaoh Ptolemy I Soter were wise "and included Ptolemy the Wise, who composed the book of the Almagest". Abu Ma'shar recorded a belief that a different member of this royal line "composed the book on astrology and attributed it to Ptolemy". We can infer historical confusion on this point from Abu Ma'shar's subsequent remark: "It is sometimes said that the very learned man who wrote the book of astrology also wrote the book of the Almagest. The correct answer is not known." Not much positive evidence is known on the subject of Ptolemy's ancestry, apart from what can be drawn from the details of his name, although modern scholars have concluded that Abu Ma'shar's account is erroneous. It is no longer doubted that the astronomer who wrote the Almagest also wrote the Tetrabiblos as its astrological counterpart. In later Arabic sources, he was often known as "the Upper Egyptian", suggesting he may have had origins in southern Egypt. Arabic astronomers, geographers and physicists referred to his name in Arabic as Baṭlumyus (). Ptolemy wrote in ancient Greek and can be shown to have utilized Babylonian astronomical data. He might have been a Roman citizen, but was ethnically either a Greek or at least a Hellenized Egyptian. Astronomy Astronomy was the subject to which Ptolemy devoted the most time and effort; about half of all the works that survived deal with astronomical matters, and even others such as the Geography and the Tetrabiblos have significant references to astronomy. Mathēmatikē Syntaxis Ptolemy's Mathēmatikē Syntaxis (Ancient Greek: Μαθηματικὴ Σύνταξις, lit. "Mathematical Systematic Treatise"), better known as the Almagest, is the only surviving comprehensive ancient treatise on astronomy. Although Babylonian astronomers had