How Long Did Cleopatra Rule?

Cleopatra, officially called Cleopatra VII as she was the seventh in her family to bear the name, ruled with her brother Ptolemy XIII as her husband for about three years before he (Ptolemy) took control of the governing and forced her to leave. Talk about a dysfunctional family!