
    Belknap,
    Dec., 1899.
    International Trust Co. & a. v. Davis & Farnum Manufacturing Co. & a. Same v. Kendall & a.
    
    A mortgage to a trustee to secure the payment of bonds* to be thereafter issued is valid, becomes effective as the bonds are disposed of, and takes precedence of attachments by creditors of the mortgagor as to sums advanced prior thereto.
    The discharge of a prior mortgage and the taking of another in its stead -will be treated as an equitable assignment, as against attaching creditors whose action was in no way influenced by reliance upon the recorded discharge.
    Where a corporation has issued mortgage bonds in excess of the amount authorized by its charter, the transaction is not open to attack, on the ground that it was ultra vires, at the instance of creditors whose rights were not infringed thereby and whose attachments of the mortgaged property were precedent to such illegal issue.
    Bills in Equity, to restrain the levy of executions against the Winnipesaukee Gas and Electric Light Company upon real estate formerly of said company, except in subordination to the rights of bondholders. 'Facts found by the court.
    The Light Company was incorporated in 1887 (Laws 1887, o. 244), constructed gas-works, and entered into business. Its charter authorized it to borrow money to defray the expense of the works, not exceeding in all one half the cost thereof, and to issue bonds therefor, secured by mortgage.' In 1895, the corporation issued bonds to the amount of $50,000, secured by a mortgage running to the plaintiff Trust Company, as trustee. The mortgage was recorded August 14, 1895, and from time to time thereafter bonds were pledged to the plaintiff banks, as security for loans made to the company, the last of the issue being pledged January 1, 1896. In January, 1896, because the validity of the bonds was questioned, they were cancelled, the mortgage was discharged, and a new issue for $40,000 was made and secured by a like mortgage. The new bonds to the amount of $30,000 were substituted for the former issue, and later the banks bought, and now own, the whole of the $40,000; having paid therefor in money.
    In September, 1895, the Davis & Farnum Company, and in October, 1895, Kendall, attached the Light Company’s real estate, and, having obtained judgments, were about to levy upon it when ternporarily enjoined. The Light Company’s property did not cost $80,000.
    
      Jewett $ Plummer, for the plaintiffs.
    
      Walter S. Peaslee and E. A. ¡f- C. B. Hibbard, for the defendants.
   Peaslee, J.

The mortgage to a trustee, to secure the payment of bonds to be thereafter issued, was valid, and became effective as the bonds were disposed of. Richards v. Railroad, 44 N. H. 127, 137; Stavers v. Philbrick, 68 N. H. 379. At the times the attachments were made the mortgage was a lien upon the property to the extent of the money then advanced upon the bonds, or $14,100 as against the Davis & Farnum Company and $19,100 as against Kendall. As to sums thereafter advanced, the attachments take precedence. It is only upon the theory that the mortgage takes effect as of the time when the debt is created or obligation assumed, that the objection that it is made to secure future advances is avoided. Stavers v. Philbrick, supra. Whatever theoretical objections there may be to the proposition that a mortgage to secure several obligations may take effect at one time as to one engagement and at a later date as to another, the fact that such mortgages as this have always been treated as valid is a sufficient reason for upholding them. “ Common errors, upon which great amounts of property have been invested, cannot safely be corrected.” Richards v. Railroad, supra.

The discharge of the prior mortgage and the taking of the later one in its stead did not affect the rights of the parties. A discharge of a mortgage is always treated as an assignment when justice requires such a course for the protection of equitable rights. Holt v. Baker, 58 N. H. 276, and cases cited. The attaching creditors have not done or omitted to do any act relying upon the recorded discharge (Holt v. Baker, supra), and cannot complain because the transaction is given the effect intended by the parties thereto. By their attachments these creditors became subsequent incumbrancers, against whom the rule of equitable assignment has frequently been applied. Hammond v. Barker, 61 N. H. 53, and cases cited.

The defence that the mortgage to secure the lastissqe of bonds was ultra vires, because the amount of the issue was more than one half the cost of the Light Company’s property, is also set up. The company could not avail itself of this defence, for it has received and now retains the proceeds of the contract. M. & L. Railroad v. Railroad, 66 N. H. 100, 127. These creditors cannot invoke the aid of this doctrine, for it is applied only at the instance of the state, the corporation,'or its stockholders, or of a third person whose rights are infringed by the illegal agreement. Gr. Brice, pt. IV, e. 2. Assuming that the execution of this mortgage was beyond the powers granted to the company, and that these creditors so far stand in the position of innocent purchasers as to have the right to attack it (Commonwealth v. Smith, 10 Allen 448, 459), the defence is not available here. The claim that a contract is void because beyond the charter powers of a corporation is seldom recognized as a defence to an agreement otherwise unobjectionable, and never except as a shield against wrong. Whitney Arms Co. v. Barlow, 68 N. Y. 62, 69; Lewis v. Association, 98 Wis. 203. The bonds for which this mortgage is security, as against these creditors, amount to less than $20,000, a sum which is assumed to be within the limit mentioned in the charter, or one half of the cost of the company’s property. If no further issue of bonds had been made, no one could have complained; and as the subsequent issue had no effect adverse to these creditors, it requires no . argument to show that they ought not, in equity, to be allowed-to base an enlargement of their rights upon such acts. A mortgage given to secure both a present debt and future advances is valid as to the former. Stavers v. Philbrick, 68 N. H. 379, and cases cited. No good reason appears why the same rule should not apply to any mortgage which is in part in excess of the power of the mortgagor to give. In the absence of fraud, this principle applies to contracts of corporations which are in part ultra vires. Thomp. Corp., s. 5981.

The plaintiffs are entitled to an equitable lien upon the property to the extent of $14,100 as against the Davis & Farnum Company, and $19,100 as against Kendall. Such order will be made at the trial term as will protect their equitable as well as the defendants’ legal rights in the premises.

Case discharged.

Pabsons, J., did not sit: the others concurred.'  