Extradition agreements date from the early days of formal legal systems. The first known agreement originated as part of a peace treaty between an Egyptian Pharaoh and a Hittite King. Such agreements reflected the reality that criminal codes and legal systems generally operated territorially and that criminal defendants had both an incentive and ability to evade responsibility with their feet—by fleeing to another jurisdiction, where they could not be tried.