The crook and flail (heka and nekhakha) were symbols used in ancient Egyptian society. They were originally the attributes of the deity Osiris that became insignia of pharaonic authority. The shepherd's crook stood for kingship and the flail for the fertility of the land.
The earliest known example of a crook is from the Gerzeh culture (Naqada II), and comes from tomb U547 in Abydos. By late Predynastic times, the shepherd's crook was already an established symbol of rule. The flail initially remained separate, being depicted alone in some earliest representations of royal ceremonial. Approximately by the time of the Second Dynasty, the crook and flail became paired.