Ptolemy XIII Theos Philopator was Pharaoh of Egypt from 51 to 47 BC, and one of the last members of the Ptolemaic dynasty (305–30 BC). He was the son of Ptolemy XII and the brother of and co-ruler with Cleopatra VII.