The city passed formally under Roman jurisdiction in 80 BC, according to the will of Ptolemy Alexander but only after it had been under Roman influence for more than a hundred years. Julius Caesar dallied with Cleopatra in Alexandria in 47 BC and was besieged in the city by Cleopatra's brother and rival. His example was followed by Mark Antony, for whose favor the city paid dearly to Octavian. Following Antony's defeat at the Battle of Actium, Octavian took Egypt as personal property of the emperor, appointing a prefect who reported personally to him rather than to the Roman Senate. While in Alexandria, Octavian took time to visit Alexander's tomb and inspected the late king's remains. On being offered a viewing into the tombs of the pharaohs, he refused, saying, "I came to see a king, not a collection of corpses."