Consent (criminal law)

In criminal law, consent may be used as an excuse and prevent the defendant from incurring liability for what was done.