delivered the opinion of the Court at the ensuing May term in Kennebec.
The plaintiff’s attachment was prior to that of the other creditors named in the brief statement; but the defendant, representing those creditors contends that those proceedings which were had between Clark and Small, after the service of the writ and before the entry of judgment in the original action, have by legal operation released Clark’s attachment in toio ; and if so, the defendant is entitled to judgment on the verdict. We will first state certain principles which have been settled, having a relation to the subject under consideration; and then examine the facts reported, and see how far those principles are to influence the decision of this cause. In a civil action, when a special attachment of property has been made, or bail taken, on mesne process, if the plaintiff and defendant enter into a reference of that action and all demands, it is an admitted principle that such reference operates as an absolute and immediate release *352or dissolution of the attachment or discharge of the bail; and no after circumstance in the trial of the cause, will prevent the application of the principle. Hill v. Hunnewell, 1 Pick. 192, and Mooney & Ux. v. Kavanagh, 4 Greenl. 277. In such cases, it makes no difference whether any new demand is introduced beyond the original cause of action ; or if any such is introduced, whether it is allowed or not. The mere act of referring, is considered as producing the above mentioned effect, at least in those cases where the rule of reference is never discharged. This has been supposed to be founded on the principle that every man is presumed to know the law ; and that for the sake of a genera] settlement with his adversary, or for any other reason satisfactory to himself, a plaintiff consents to waive and does waive the security he holds in virtue of the attachment or of the bail bond. Unless such a principle should be adhered to, a plaintiff’s demand might be essentially increased by the introduction of new causes of action, and in this manner a second attaching creditor might lose the benefit of his attachment, and, though with no immoral motive on the part of the plaintiff, such second creditor would be, in legal contemplation, defrauded of his rights. Bean v. Parker, 17 Mass. 603 ; Dana v. Ward, 3 Pick. 199. The case of Adams & al. v. Paige & al. 7 Pick. 542 was sustained on the ground of actual fraud to injure another creditor, and so is not applicable to the present case ; for in this there is no proof of such fraud.
Where A and B are creditors of the same person, and an attachment'of the same property is made at the suit'of each, A’s attachment being prior to that of B ; should A have leave to amend his declaration, and, under such general leave, insert one or more counts, and therein set forth a new cause of action, such a proceeding dissolves or releases the attachment. Willis v. Crooker, 1 Pick. 204. It does not appear that there was any fraudulent intention in that case in making the amendment; still, as the result of it would have prejudiced the rights of the second attaching creditor, had it been sanctioned, the court decided that its legal operation was to release the attachment. Whether this release is to be considered as the effect of a waiver of it, as in the case of a refer-*353eríce of all demands ; or whether it is so considered, on the principle that it operates as a fraud in its consequences, in the same manner as a voluntary conveyance would, if sustained, in respect to creditors, is a question, perhaps, not necessarily requiring an answer. When such amendment is made for the very purposes of fraud on subsequently attaching creditors, there is no doubt as to its effect in the view of any one. In the case supposed, A loses the lien and benefit of his attachment, by inserting in his declaration a new cause of action under the common and general leave to amend. But such leave does not authorize the plaintiff to make such an amendment. In doing it, he in fact acts without any leave. The legal consequence must be the same if A, without asking any leave to amend, inserts one or more new counts, and thereby introduces one or more new causes of action ; for the effect must be the same as to subsequent attachments. Such are the principles of law as applied to .the cases we have mentioned ; and it now remains for us to ascertain how far these principles are applicable to the case before us. No new counts have been added, with or without leave; and the question is whether, in virtue of the agreement referred to at the bottom of the account which is annexed to the report, in connexion with the several counts in the declaration, and the charges contained in the stated account, the plaintiff has lost the benefit of his lien. The writ contains six counts. [Here the Chief Justice stated the substance of the counts, as before mentioned.]
It does not appear by the report of the Judge, that there was any objection to the introduction of any of the proof of those facts contained in it; we are therefore to examine and judge of them in forming our opinion. The account on which the balance is stated, for which judgment was rendered, exhibits a debt against Small amounting to ‡817,90, and a credit to him amounting to ‡112,00, leaving, as due, a balance of ‡705,00. The ad damnum being only ‡700, judgment was rendered for no more than that sum. Among other items in this account, not stated or alluded to in the account annexed to the writ, is a charge of a note of hand for .f68,32, principal and interest; and sundry other charges amounting to $366,-30. ■ The defendant contends that the last mentioned note, and *354charges in the account, were not sued for and demanded in the action ; and, as the basis of this position, he says there is no count adapted to the note or to many of the charges; and that some of the charges must have been made before a right of action had accrued. On the contrary, the plaintiff contends that the last two counts are sufficient to embrace all those demands and charges which were not specially set forth or counted upon in the writ, though included in the judgment; and that so no new cause of action was introduced, by consent of the parties. We do not say that the note last mentioned might not have been given in evidence on the last count ; and that the five charges for money paid would not, pro tanto, support the fifth count; and it is said that the charges for molasses, rent and use of yard would have been good evidence on the last count, and indeed that the charter and the claim on the Willis note would have been so also; on the plain principle that when Small on the 20th of October, 1826, (a short time before judgment was entered) acknowledged that the sum of $817,90, as charged, and the sum of $112,90 as credited were both correct, and that the balance of $705 was then a debt'justly due from him to QlarJc, that moment an action for monies had and received would lie for it. Admitting for the sake of the argument, that this reasoning and conclusion are correct, still the question returns, could such a count be good for the recovery of such sums, without such an agreement and liquidation ? We apprehend the counsel for the plaintiff would not be willing to answer this question in the affirmative. We must then go back to the commencement of the action, and settle the legal rights of the parties as they then existed. But if it is conceded that the sum of $108 charged as due for charter of the schooner Fame, might be given in evidence in support of the last count, and therefore is no new cause of action, yet the last charge in the stated account, we are all clearly of opinion, was totally inadmissible. This charge cannot be called a new cause of action, for from the very language in which this charge is made (being $134,20) it is evident, that even then no cause of action for the recovery of that sum had accrued. The charge is in these words, “ To a note of hand that I indorsed for you, now in the hands of George Willis, that I have be-*355conic responsible to pay.” Now we hare decided in Ingalls v. Dennet, 6 Greenl. 79, that a surety has no right of action against his principal merely because the debt is not paid as soon as it is due ; nor until he has either paid it, or procured the discharge of the principal, by assuming it himself; and neither of these things has yet been done. See also McLellan v. Crofton 6 Greenl. 307, and all the cases cited as to the point. From this review of the case it is manifest that the judgment contains at least $134,20 for which no right of action existed at the time of the judgment; and we think at least $46,16 more which could not have been recovered on either of the counts, as the facts stood wheu the action was commenced, even if it could have been by reason of Small’s consent. According to decided cases, no distinction exists as to a total or partial release of an attachment. On the ground of voluntary waiver, or fraud in law, and injury affecting the subsequently attaching creditors, we are all of opinion that the transaction of the 20ih of October, 1826, between the plaintiff and Small, operated to dissolve the attachment made of his property ; and the result is that there must be
Judgment on the verdict.