delivered the opinion of the court, and, after stating the case as above, proceeded as follows: —
The statute in force at the date of the transaction in question, conferring power on the county commissioners over the subject, provides, “ That the county commissioners in each county are authorized, whenever they see fit to do so, to establish a poor-house; ” and that “ they may take tо the county, by grant, devise, or purchase, any tract of land, not exceeding six hundred and forty acres, for the purposes of said poorhouse.” Sect. 17 and 18,. Rev. Stat. Neb., c. 40. Sect. 19 of the same chapter declares that “ said commissioners are hereby empowered to receive donations to aid in the establishment of such poor-house; and also empowered, from time to time, as they, shall see fit, to levy and collect a tax, not exceeding one per cent, on the taxable property in the county, and to appropriate the same to the purchase of land, not exceeding the aforesaid six hundred and forty acres; and to erect and furnish buildings suitable for a poor-house, and to put into-operation and to defray the actual expenses of. said poor-house, should the lаbor of the inmates be inadequate thereto.” By sect. 23 of the same act the commissioners are authorized, if they deem it to be for the interest of the county, to appropriate out of any other, money belonging to the'county any sum not exceeding $2,500 for the purpose of purchasing-a farm and erecting thereon suitable buildings, as contemplated in the sections before referred to. '
These provisions of the statute were construed by the Supreme Court of the State in
Stewart
v.
Otoe
County,
This decision has been accepted by all parties to this suit, and we are not asked to consider any question as to its correctnfess, or as to our obligation to adopt it. We, therefore, assume it to be the law of Nebraska, applicable to the case, and the basis of further inquiry as to the relative rights of the parties to this litigation. It expressly declares that the county commissioners hаd power to purchase a poor-farm, but that the power does not extend to an agreement to pay at a definite time, or to give as security for payment'a lien upon the land. The vendor must either receive the purchase-money on delivery *354 of the deed, or wait for its payment in the due course of administration, by the appropriation of the taxes levied, collected, and paid intо the treasury applicable to that purpose.
. If, in the present case, such had been the original understanding between the parties, and the deed had been delive'red without payment, but upon orders drawn upon the county treasurer payable according to law, the vendor-would have been obliged to wait during the reasonable delays of administration. “ Whoever,” said that court, in
Brewer
v.
Otoe
County,
Accordingly, in that case,-it was decided that the Statute of Limitations did not apply to cases of .such claims'against counties. The court, on that point, said: “ But these warrants do not, nor was it the intention of the legislature that they should, fall within the operation of this act. . . .'Nor can any action rightfully be brought on such warrant until the fund is raised, or at least sufficient time has elapsed to enable the county to levy and collect it in the mode prescribed in the revenue laws. That the legislature never intended that county warrants should be affected by the limitation act before referrеd to, is evident, I think, from the whole course of legislation respecting them; As late as the 12th of February, 1866, it was enacted that ‘ all debts heretofore incurred by .the county commissioners of any county, acting in good faith, and duly recorded at the time on their books, shall be deemed valid and the county shall be held liable for the same.’ Chap. 5, sect. 1, Rev. Stat. . . . From these, as well as numerous other enact- *355 merits of the legislature thаt might be cited, I have reached the conclusion that the plea of the Statute of Limitations cannot be successfully made against these warrants, and that whenever it can be shown that the funds have been collected out of which they can be paid, or sufficient time has been given to do so in the mode pointed out in the statute, their payment may be demanded, and if refused, legally coerced.”
Arid if, in such cases, a proceeding in
mandamus
should be considered to be the more appropriate, and, perhaps, the only effective remedy, it also is not embraced in the Statute of Limitations prescribed generally for civil actions. The writ may well be refused when the relator has slept upon his rights for an unreasonable time, and especially if the delay has been prejudicial to the .defendant, or to the rights of other persons, though what laches, in the assеrtion of a clear legal right, would be sufficient to justify a refusal of the remedy by
mandamus
must depend, in a great measure, on the character and circumstances of the particular case.
Chinn
v.
Trustees,
In the present case, however, it was not the understanding of the parties that the vendor should await the collection of taxes, as prescribed by the statute, for the payment of the purchase-money, but, on the contrary, there was an agreement for payment in a definite time, without regard to the condition of the county treasury, and for security by way of notes and mortgages. The agreement, as we have assumed, so far as it relates to the time and mode of payment, is void; but the contract for the sale itself has been executed on the part of the vendor.by the delivery of the deed, and his title at law has actually passed to the county. As the agreement between the partir — días failed by reason of the legal, disability of the county to perform its part, according to its conditions, the right of the vendor to rescind the contract and to a restitution of his title would seem to be as clear as it would be just, unless some valid reason to the cоntrary cari be shown. As was said by this.court in
Marsh
v.
Fulton County,
The principle was applied in the case of
Morville
v.
American Tract Society,
This doctrine was fully recognized by the Supreme Court of 'Nebraska as the law of that State in the case of
Clark
v.
Saline County,
The conveyance by Chapman to the county of Douglas passed the legal title, but upon a condition in the contract which it was impossible in law for the county to perform. There resulted, therefore, to the grantor the right to rescind the agreement upon which the deed was made, and thus to convert the county into a trustee, by construction of law, of the title for his benefit, according to the often reрeated rule, as stated by Hill on Trustees, 144, that “ whenever the circumstances of a transaction are such that the person who takes the legal estate in property cannot also enjoy the beneficial interest, without necessarily violating some established principle of equity, the court will immediately raise a constructive trust and fasten it upon the conscience of the legal owner, so as to convert him into a trustee for the parties who, in equity, are entitled to the beneficial enjoyment.” Upon this principle the vendor of real *358 estate is treated as trustee of the title for the purchaser; and the mortgagee, having the legal title, after payment, of the mortgage debt, is a trustee for the mortgagor. The analogy is complete between these and every case, of which the present is one, where the holder of the legal title is under a duty to convey to another.
But, admitting that Chapman was entitled to’call for a re-conveyance, it is alleged' that the Statute of Limitations of Nebraska, which bars the right to recover the title to real estate in ten years from the time it first accrued, defeats the recovery.
The Statute of Limitations in force on March 5,1859, which was the date of the deed, prescribed twenty-one years after the cause of action shall have accrued as the period within which an action for the recovery of the title to lands must be brought. Rev. Stat. Neb. 1866, p. 395, sect. 6.
On Feb. 12, 1869, the legislature of Nebraska passed an act, which' took effect July 1, 1869, which amended this section so as to reduce the limitation to ten years. It is not denied that if Chapman’s cause of action first accrued to him on March 5, 1859, this аmendment could not operate upon it, because to give it that effect would be to take away an existing right of action by mere legislation, as the ten years would then have fully expired. It is, therefore, claimed that his right of action for a reconveyance of the title could only have first accrued when the first instalment of the purchase-money became due, that is, on March 5, 1860, which left eight months after the statute took effect before the ten years’ limitation would expire, which, it is claimed, would be a reasonable time within which to require that suits upon existing causes of action should be brought. But this view cannot be supportéd; for the original contract for payment, at a fixed time, is rendered invalid, for the same reason that avoided the notes and mortgage, the objection being, according to the decision of the Supreme Court of Nebraska, that the county had no power to bind itself to pay, in any other manner than that prescribed by the statute. Hence, it must be held, in this aspect of the case, that the right of action was not postponed, after the date of the deed, by the credit given, and if it accrued at that time, *359 the limitation was twenty-one years, according to the statute then in force, within' which the present suit was in fact brought. ■
But thе more satisfactory answer to this defence, is, that none of the statutes of limitation referred to apply to the case at all, We have already seen that by the decision in
Brewer
v.
Otoe
County,
There is nothing, therefore, to prevent the relief prayed for • being granted, if it can be done without injustice to the defendant. On this point, it is sаid, it would be inequitable to decree a rescission of the contract and a restoration of the title *360 to and possession of the property, because the parties cannot be placed in statu quo; that the circumstances have greatly changed by the incroase in the value of the property and the expensive- improvements that have been put upon it by the county. If the relief asked and expected was an unconditional reconveyance of the title and surrender of possession, this -would undoubtedly be true. But such is not the case. Any such injurious and inequitable results as are deprecated may easily be averted by the simple payment of the amount due on account of the purchase-money, which the appellants consent to receive, which is within the statutory powers of the county, and for whiсh proper provision may be made in the decree.
The principles on which we proceed to establish the right of the appellants to the relief prayed for were announced and acted upon by this court in
Parkersburg
v. Brown, in which it was also held that the equity of the original grantor of the property sought to be reclaimed passed by an assignment of the void securities.
And, conversely, the right of the county, represented by its taxpayers, to require a rescission of such a contract, on condition of a surrender of the void securities on the part of the vendor, and a reconveyance of the title in consideration of which they were issued, was recognized by this court in
Crampton
v.
Zabriskie,
In not granting this relief the Circuit Court erred, and its decree must be reversed, with directions to ascertain the amount due from the county of Douglas on account of the purchase-money of the poor-farm, making any proper allowance as a compensation for the failure of the title to the ten-acre tract, and thereupon to render a decree, unless the amount sо found due be paid within a reasonable time, to be- fixed by the court, having reference to the necessity of raising the same by taxation, as regulated by the statute, that the county of Douglas be required by its commissioners to execute and deliver a deed, releasing to Chapman all the title acquired by it by *361 virtue of the deed from him of, March 5, 1859, to be conveyed by Chapman to William A. Ely, his co-complainant, and sole representative of Charles A. Ely, upon such terms as the equities of the case may require. It is
So ordered.
