He then continued alone for 30 years. By the end of his rule, Juba II ruled jointly with his son, Ptolemy. A loyal ruler of North Africa It wasn’t until AD 23 that Ptolemy became king of Mauretania.