What member of the Ptolemaic line last ruled Egypt ?
He became King of Cyrenaica ( in modern Libya ) and he managed to wrestle independence for Cyrenaica from the Greek Ptolemaic dynasty of Ancient Egypt .