Conversation so far:
when does assassin's creed origins take place
Assassin's Creed Origins is set in Ancient Egypt near the end of the Ptolemaic period.
when was the ptolemaic period
The Ptolemaic Kingdom lasted from 305 BC to 30 BC.

Question: who ruled the kingdom
Self-contained rewrite: who ruled the ptolemaic kingdom