eye for an eye; lex talionis; equal retaliation
A formal or legal term for the principle of retaliatory punishment equal to the harm suffered. Often used in discussions of law, ethics, or historical codes.
The Code of Hammurabi records the principle of lex talionis.
The idea of equal retaliation is not widely adopted in modern criminal law.