 Initially, the joint rule of the two brothers and Cleopatra II, which had been established during the war, continued.However, the complete failure of the Egyptian forces in the Sixth Syrian War left the Ptolemaic monarchy's prestige seriously diminished and caused a permanent rift between Ptolemy VI and Ptolemy VIII.In 165 BC, Dionysius Petosarapis, a prominent courtier who appears to have been of native Egyptian origin, attempted to take advantage of their conflict in order to take control of the government.