Restitution

Refers both to disgorging something which has been taken, and to compensation for loss or injury done.

In civil cases: A remedy associated with unjust enrichment in which the amount of recovery is typically based on the defendant's gain rather than the plaintiff's loss.

In criminal cases: Full or partial compensation for loss paid by a criminal to a victim that is ordered as part of a criminal sentence or as a condition of probation.