<?xml version='1.0' encoding='utf-8'?>
<section article="gcl" article_name="Commercial Law" number="22-804" title_number="22" title_name="Maryland Uniform Computer Information Transactions Act" subtitle_number="8" subtitle_name="Remedies; General; Damages; Remedies Related to Performance">
  <level label="a">
    <text>Damages for breach of contract by either party may be liquidated by agreement in an amount that is reasonable in light of:</text>
    <level label="1">
      <text>The loss anticipated at the time of contracting;</text>
    </level>
    <level label="2">
      <text>The actual loss; or</text>
    </level>
    <level label="3">
      <text>The actual or anticipated difficulties of proving loss in the event of breach.</text>
    </level>
  </level>
  <level label="b">
    <text>If a term liquidating damages is unenforceable under this subsection, the aggrieved party may pursue the remedies provided in this title, except as limited by other terms of the contract.</text>
  </level>
  <level label="c">
    <text>If a party justifiably withholds delivery of copies because of the other party’s breach of contract, the party in breach is entitled to restitution for any amount by which the sum of the payments it made for the copies exceeds the amount of the liquidated damages payable to the aggrieved party in accordance with subsection (a) of this section. The right to restitution is subject to offset to the extent that the aggrieved party establishes:</text>
    <level label="1">
      <text>A right to recover damages other than under subsection (a) of this section; and</text>
    </level>
    <level label="2">
      <text>The amount or value of any benefits received by the party in breach, directly or indirectly, by reason of the contract.</text>
    </level>
  </level>
  <level label="d">
    <text>A term that does not liquidate damages, but that limits damages available to the aggrieved party, must be evaluated under § 22-803 of this subtitle.</text>
  </level>
</section>
