The suit here was not to ov erhale the first judgment, or to recover back the amount of it, on t^le ground that the money was not due, and had been unconscientiously recovered. That was not the srist of J ° this action. The case of Marriot v. Hampton (7 Term Rep. 269.) has no application. Ihis suit was brought for breach of an agreement to discontinue the former suit, and this breach would be the same, even if the former reCovery had been for a just debt.
Lord Chief Justice Eyre, in Philips v. Hunter, (2 H. Bl. 416.) though he denies the authority of Moses v. M'Farlan, yet he expressly admits that the recovery in the court of conscience, referred to in that case, was the breach of an agreement, and upon that breach an action *471would have lain; and this, he said, was the party’s proper remedy, and not an action for money had and received, to recover back the money which had been, unconscientiously recovered, in the court of conscience. This case comes exactly within that rule. It was for a breach of a promise, that in consideration of paying three dollars, the defendant would go and discontinue a suit, pending before a justice. To deny an action for the breach of such an agreement, would be unjust. Nor was the plaintiE below barred of his action, for not having set oE this demand in the suit so carried on against him, in defiance of the agreement. The setoE, in a suit before a justice, of any counter demand or account, must mean, as in cases of set-oE in other courts, accounts or demands existing at the commencement of the suit, and the agreement here was subsequent, and so could not have been a legal set-oE. It is a settled rule that ho matter of defence, arising after action brought, can be pleaded in bar, or as a set-off. (3 Term Rep. 186. 4 East, 507. 1 Caines, 71, 72.)
The merits of this case are, therefore, strongly with the plaintiE below, and as the admission of the magistrate, as a witness, must be taken to have been, by consent, as no objection was made, there was no technical fule violated, and the judgment must be affirmed.
Judgment affirmed.