Question: What member of the Ptolemaic line last ruled Egypt?
About the article "Egypt", section "Ptolemaic and Roman Egypt".

Candidate passages:
The Ptolemaic () dynasty, (, sometimes also known as the Lagids or Lagides, , from the name of Ptolemy I's father, Lagus) was a Macedonian Greek royal family which ruled the Ptolemaic Empire in Egypt during the Hellenistic period.
Their rule lasted for 275 years, from 305 BC to 30 BC.
They were the last dynasty of ancient Egypt.
Ptolemy, one of the six somatophylakes (bodyguards) who served as Alexander the Great's generals and deputies, was appointed satrap of Egypt after Alexander's death in 323 BC.
In 305 BC, he declared himself King Ptolemy I, later known as "Soter" (saviour).
The Egyptians soon accepted the Ptolemies as the successors to the pharaohs of independent Egypt.
Ptolemy's family ruled Egypt until the Roman conquest of 30 BC.
All the male rulers of the dynasty took the name Ptolemy.
Ptolemaic queens, some of whom were the sisters of their husbands, were usually called Cleopatra, Arsinoe or Berenice.
The most famous member of the line was the last queen, Cleopatra VII, known for her role in the Roman political battles between Julius Caesar and Pompey, and later between Octavian and Mark Antony.
Her apparent suicide at the conquest by Rome marked the end of Ptolemaic rule in Egypt. 
Ptolemy, a somatophylax, one of the seven bodyguards who served as Alexander the Great's generals and deputies, was appointed satrap of Egypt after Alexander's death in 323 BC.
In 305 BC, he declared himself King Ptolemy I, later known as "Soter" (saviour).
The Egyptians soon accepted the Ptolemies as the successors to the pharaohs of independent Egypt.
Ptolemy's family ruled Egypt until the Roman conquest of 30 BC.
All the male rulers of the dynasty took the name Ptolemy.
Ptolemaic queens, some of whom were the sisters of their husbands, were usually called Cleopatra, Arsinoe or Berenice.
The most famous member of the line was the last queen, Cleopatra VII, known for her role in the Roman political battles between Julius Caesar and Pompey, and later between Octavian and Mark Antony.
Her suicide at the conquest by Rome marked the end of Ptolemaic rule in Egypt. 
The Ptolemaic dynasty, (, sometimes also known as the Lagids or Lagides, , from the name of Ptolemy I's father, Lagus) were the Macedonian Greek descendants of Ptolemy I Soter, one of the six somatophylakes (bodyguards) who served as Alexander the Great's generals and deputies and was appointed satrap of Egypt after Alexander's death in 323 BC.
In 305 BC, he declared himself King Ptolemy I, later known as "Soter" (saviour).
The Egyptians soon accepted the Ptolemies as the successors to the pharaohs of independent Egypt.
Ptolemy's family ruled Egypt until the Roman conquest of 30 BC.
All the male rulers of the dynasty took the name Ptolemy.
Ptolemaic queens, some of whom were the sisters of their husbands, were usually called Cleopatra, Arsinoe or Berenice.
The most famous member of the line was the last queen, Cleopatra VII, known for her role in the Roman political battles between Julius Caesar and Pompey, and later between Octavian and Mark Antony.
Her apparent suicide at the conquest by Rome marked the end of Ptolemaic rule in Egypt. 
 Ptolemaic dynasty, the Egyptian dynasty founded in 305 BC by Ptolemy I Soter Ptolemaic Egypt Ptolemaic Kingdom Ptolemaic Baris, a citidel maintained by Ptolemaic Egyptian rulers of Jerusalem  
Magas of Cyrene (; born before 317 BC-250 BC, ruled 276 BC–250 BC) was a Greek Macedonian nobleman.
Through his mother’s second marriage he was a member of the Ptolemaic dynasty.
He became King of Cyrenaica (in modern Libya) and he managed to wrestle independence for Cyrenaica from the Greek Ptolemaic dynasty of Ancient Egypt.