Ptolemy XII Neos Dionysus ( – 51 BC) was a king of the Ptolemaic Kingdom of Egypt who ruled from 80 to 58 BC and then again from 55 BC until his death in 51 BC. He was commonly known as Auletes (, "the Flautist"), referring to his love of playing the flute in Dionysian festivals. A member of the Ptolemaic dynasty, he was a descendant of its founder Ptolemy I Soter, a Macedonian Greek general and companion of Alexander the Great.

Ptolemy XII was an illegitimate son of Ptolemy IX by an uncertain mother. In 116 BC, Ptolemy IX became co-regent with his mother, Cleopatra III. However, he was forced into a civil war against his mother and his brother, Ptolemy X, leading to his exile in 107 BC. Cleopatra III sent her grandsons to Kos in 103 BC. They were captured by Mithridates VI of Pontus probably in 88 BC, around the time Ptolemy IX returned to the Egyptian throne. After their father died in 81 BC, Ptolemy XII's half-sister Berenice III took the throne. She was soon murdered by her cousin and co-regent, Ptolemy XI, who was then killed. At this point, Ptolemy XII was recalled from Pontus and proclaimed pharaoh, while his brother, also named Ptolemy, was installed as king of Cyprus.

Ptolemy XII Auletes

Ptolemy XII married his relative Cleopatra V, who was likely one of his sisters or cousins; they had at least one child together, Berenice IV, and Cleopatra V was likely also the mother of his second daughter, Cleopatra VII. The king's three youngest children – Arsinoe IV, Ptolemy XIII, and Ptolemy XIV – were born to an unknown mother. Ptolemy XII's uncle Ptolemy X had left Egypt to Rome in the event there were no surviving heirs, making Roman annexation of Egypt a possibility. In an effort to prevent this, Ptolemy XII established an alliance with Rome late into his first reign. Rome annexed Cyprus in 58 BC, causing Ptolemy of Cyprus to commit suicide.

Ptolemy XII Auletes

Shortly afterwards, Ptolemy XII was deposed by the Egyptian people and fled to Rome, and his eldest daughter, Berenice IV, took the throne. With Roman funding and military assistance, Ptolemy XII recaptured Egypt and had Berenice IV killed in 55 BC. He named his daughter Cleopatra VII as his co-regent in 52 BC. He died the next year and was succeeded by Cleopatra VII and her brother Ptolemy XIII as joint rulers.

Ptolemy XII Auletes

Background and early life

Ptolemy XII was the oldest son of Ptolemy IX. The identity of his mother is uncertain. Ptolemy IX was married twice, to his sister Cleopatra IV from around 119 BC until he was forced to divorce her in 115 BC, and secondly to another sister, Cleopatra Selene, from 115 BC until he abandoned her during his flight from Alexandria in 107 BC. However, Cicero and other ancient sources refer to Ptolemy XII as an illegitimate son; Pompeius Trogus called him a "nothos" (bastard), while Pausanias wrote that Ptolemy IX had no legitimate sons at all. Some scholars have therefore proposed that his mother was a concubine – if so, probably an Alexandrian Greek. It had been speculated by Werner Huß that Ptolemy's mother was an unknown woman belonging to the Egyptian elite, based upon a speculated earlier marriage between Psenptais II, high priest of Ptah, and a certain "Berenice", once argued to possibly be a daughter of Ptolemy VIII. However, the speculation of this marriage was refuted by Egyptologist Wendy Cheshire. Chris Bennett argues that Ptolemy XII's mother was Cleopatra IV and that he was considered illegitimate simply because she had never been co-regent. This theory is endorsed by the historian Adrian Goldsworthy.