It is Latin (not Spanish!) for "The Law of Retaliation", which is to say, "The punishment should
fit the crime". It's oldest expression is in
Exodus 21:24, Leviticus 24:20, Deuteronomy 19:21, and was given as a principle for the administration if civil law in
Israel around 3500 years ago.