This suit was brought for a lot in the town of W ashington, and to recover damages. The plaintiff proved his title. The defendant set up in his defence a purchase at Sheriff’s sale under an execution sued out on a valid judgment against plaintiff’s intestate, and proved the payment of the money, and the Sheriff’s deed ; that the money paid was applied to the satisfaction of the judgment against plaintiff’s intestate; that he had made large improvements, valued at eight hundred and fifty dollars, and had paid all the taxes assessed on the said lot ever since his purchase thereof. It was admitted that the execution on which the lot was sold was not a valid one, there having been a failure of due diligence in *117suing out the first execution and then regularly keeping the judgment alive by alias executions. It was, however, shown that the defendants in the judgment had prayed a writ of error to the Supreme Court of the Republic, and given bond for the prosecution thereof, but had failed to take the case up for revision. The parties waived a jury and submitted the case to the Judge.
It was adjudged that plaintiff recover the lot sued for; that the defendant recover the amount paid by him with interest from the date of its payment, and the further sum of eight hundred and fifty dollars, the value of the improvements made by him, making the aggregate sum of fourteen hundred and thirty-eight dollars and eighty-seven cents; that no writ of possession should issue until the plaintiff had paid the money into Court for the benefit of the defendant, and that if plaintiff failed to pay the money within twelve months, the title to be vested in the defendant. The plaintiff appealed and has assigned for error,
That the Court erred in refusing to allow the pay for the rent of the lot sued for as proven on the trial.
That the Court erred in requiring the plaintiff to pay the defendant the sum of $333 33, the purchase money, with interest thereon.
That the Court erred in requiring the plaintiff to°pay the defendant the sum of eight hundred and fifty dollars for the improvements made on the lot sued for.
The Court erred in ordering that a writ of possession should not issue until the money mentioned in the decree was paid into Court.
The Court erred in decreeing if the money was not paid within twelve months, that title should vest in defendant, and plaintiff forever be barred his right to the land.
The other error assigned in the record, need not be noticed, and perhaps we may not discuss all of the above separately.
The refusal of the Court to allow the plaintiff anything by way of rent for the lot and improvements was doubtless pre*118-iEieated upon Art. 3234, Hart. Dig. This Article provides that 3f the defendant in an action to try title shall be able to show "that the plaintiff has failed to pay the State taxes assessed on the land sued for, and that defendant has paid them, the plaintiff shall forfeit all right to pay for use and occupation. I have only given the substance of the Article. There was proof as So the payment of the taxes by the defendant, and facts from which the Court might have presumed the plaintiff had not paid the taxes. If the jury had passed upon the facts in this ease, and found that plaintiff had not paid the taxes, there would have been no sufficient ground for setting their verdict aside as unsupported by the evidence. The parties substituted the Judge to perform the functions of a jury in this case, -and his conclusion on the facts is entitled to as much weight -as the finding of the jury, had the case been put to a jury. We can perceive no error in omitting to allow anything for the use and occupation, because he had under the statute forfeited his claim for such compensation.
We believe there is nothing in the next assignment of error. Where a sale has been made on an invalid execution, issued ■on a valid judgment, and the money paid to the satisfaction of the judgment, and there has been no fraud, the purchaser will not be compelled to restore the property purchased, until reimbursed the amount paid by him ; and it was so ruled by this Court after a thorough investigation of the principle, in Howard and wife v. North, 5 Tex. R. 291. The case of Horan v. Wahrenberger, 9 Tex. R. 313, repeats the rule in the ■case previously cited, and strongly intimates that in a case where a third person and not the plaintiff in the execution had been the purchaser, and the purchase money paid to satisiy the debt, the judgment was void, though the purchaser would have an equity, entitling him to relief from the debtor. In the case before us, there is no question as to the validity of the judgment, and the admission of its validity by the intestate.
In regard to the next assignment in allowing payment to *119the defendant, the Court did not err, because he went in under color of title, and held in good faith without notice that ■'he Sheriff’s title had been or ever would be questioned. In fact he had strong reasons to believe that it was valid and would not be controverted; because there was a valid judgment, and the money was in satisfaction as far as it went of that judgment debt, thereby discharging the debtor for so much.
We do not believe that the Court erred in decreeing that no writ of possession should issue until the money adjudged to the defendant was paid into Court for the benefit of the defendant. The Court no doubt had the right and power to secure the defendant, before he could be disturbed in the possession of the premises, and the analogy furnished by Art. 3228, Hart. Dig. was very judiciously adopted by the Court. But this case does not come under the provisions of the Article just cited, and therefore it was only by analogy it was adopted. Under the circumstances of this case, the Court, on general equity principles and in the discharge of equity jurisdiction, clearly had a right to make the decree, and could have prescribed the time within which it should be paid, and that plaintiff should not have execution of his writ of possession until it was paid. It will be recollected that in this case the full value of the lot, or what is presumed to be its value, had been paid by the purchaser, and the purchase money had been applied to the payment of a valid judgment against the plaintiff’s intestate, and pure equity demanded that the money so paid should be reimbursed to the defendant, the party paying it. It is a principle of universal justice, that where one man, acting in good faith, has paid his money or bestowed his labor to the benefit of another, he should receive remuneration, and it always will be awarded to him when the parties are in a Court of competent jurisdiction. The plaintiff in this ease relied upon nothing but a shear, technical, legal right, unsupported by any equity at all. It is not pretended that the property sold was not liable for the judgment, or that there *120was any unfairness on the part of the purchaser. The plaintiff took his stand on his naked right at law, and he must not expect to obtain his legal right until he has satisfied the claims-of equity.
It is sufficient to say, in answer to the plaintiff’s last assignment of error, that there is no law fixing the time that shall be allowed to the plaintiff to pay the money ordered to be paid, after which he will be barred a recovery of the premises sued for. This rested in the sound descretion of the-Judge making the decree. But in cases somewhat analogous the statute has fixed upon one year as the time Emitted, ia which the plaintiff may pay for the improvements, and we do not believe the Court erred in adopting that time, (see Article before cited,) and we believe the time sufficiently long.
The judgment and decree of the Court below is affirmed.
Judgment affirmed.