In common law jurisdictions, the law of quasi-contract can be traced to the medieval form of action known as indebitatus assumpsit. In essence, the plaintiff would recover a money sum from the defendant as if the defendant had promised to pay it: that is, as if there were a contract subsisting between the parties.