Cleopatra VII, last pharaoh of Egypt, died by suicide in Alexandria as Octavian's forces closed in, ending the Ptolemaic dynasty.