This action of assumpsit was brought to recover back money collected oh a judg*121ment of a Circuit Court, -which was afterwards reversed in this Court.
The suit in which the money was collected, was commenced by attachment in favor of the decedent,against Lawrence,- Rapelye & Co., and the plaintiff in error was summoned as a garnishee, and by an affidavit made before a justice of the peace, out of Court, acknowledged himself indebted to Lawrence; Rapelye & Co. in the amount for which the judgment was subsequently rendered against him; and to recover back which, this suit has been brought;
We have no doubt but the action of assumpsit is the proper one to be brought in a casé of the kind : all the American decisions, which have been made upon the subject, sustain this doctrine; and there have been recoveries in the Circuit Courts of this State, in the same action.a- The only Question is; the facts of this ease, afford a ground of action to plaintiff? •
Assumpsit is an equitable action- — admitting every defence, with but few exceptions, to which the defendant is entitled, in equity and good conscience.
As between the defendants and Lawrence, Ra-pelye & Co., in equity and good conscience, the defendants certainly are not bound to refund the money.
By a judgment, which was irregular, and for that reason reversed; the amount of a debt, justly due, was recovered and paid to the decedent. In this situation, he was not authorised to renew his suit; his debt was paid, and if Lawrence, Rapelye & Co. were permitted to recover against him, would it not place; *122him in a worse situation, than if the money had not been collected 7 ' He must wait until they recover from him, before he sues them; or, without suit, he must refund to them, money, to which he is justly entitled, and which they owe him, that he may be authorised to institute a suit against them, and recover the same money back again. This can not be tolerated. If an irregular judgment has been obtained, and the money recovered, for a debt justly due, proof that the debt was due, affords a good de-fence, in an action of assumpsit, brought to recover ,1 , , . the money back.a
But, the plaintiff paid as garnishee: does this place the defendants in a worse situation 7
Does the reversal of the judgment, render the garnishee liable to the defendant in the attachment'?
If the reversal had taken place upon the merits, shewing that no debt was due from the defendants to the attachment, it is doubtful whether a payment, made by the garnishee before that reversal, would authorise him to maintain an action. His payment, under the judgment, probably would be considered a discharge of the debt, to his creditor: and, if that creditor did not owe the plaintiff in the attachment, he should resort to him, and the garnishee would probably be discharged.
A debt due from a garnishee, we are inclined to think, should be considered, in all respects, as proper-perty of the defendant, especially after that debt has been paid, under the process of the Court.
But, where the debt is confessedly due from the defendant in attachment, to the plaintiff, we have no doubt, a payment by the garnishee, of the judgment *123recovered against him as such, fully discharges him from his creditor; and therefore, that, in this case, Lawrence, Rapelye & Co. have no claim against the plain tiff.
The judgment must be affirmed.
6 Cow. 297 15 Mass R. 207; 1 Har: & Johnsoil 405
Harris & Johns. 405.