From H8323; a head person (of any rank or class): - captain (that had rule), chief (captain), general, governor, keeper, lord, ([-task-]) master, prince (-ipal), ruler, steward.
421 occurrences in 368 verses in the Hebrew Old Testament.
So the Egyptians appointed taskmasters over the Israelites to oppress them with forced labor. As a result, they built Pithom and Rameses as store cities for Pharaoh.
But the man replied, “Who made you ruler and judge over us? Are you planning to kill me as you killed the Egyptian?” Then Moses was afraid and thought, “This thing I have done has surely become known.”
Furthermore, select capable men from among the people—God-fearing, trustworthy men who are averse to dishonest gain. Appoint them over the people as leaders of thousands, of hundreds, of fifties, and of tens.