Thoth (Djehuty) was not a historical ruler but a major ancient Egyptian deity—god of wisdom, writing, magic, moon, time, and judgment.
As a god, Thoth did not "rule" geographic territory. His domain was intellectual and cosmic: knowledge, measurement, divine record-keeping. The concept of a deity "ruling" a nome (province) applies to local patron gods (e.g., Amun in Thebes, Ptah in Memphis)—but Thoth's influence was pan-Egyptian and metaphysical.