Opinion by
Mr. Justice Fell,Under proceedings on a mortgage, real estate in Philadelphia, against which taxes for four years amounting to about $2,000 had been assessed, was sold by the sheriff in 1878 for $7,000. The city collected from the sheriff the taxes for 1877 and 1878, but made no claim for those of 1875 and 1876. The sheriff’s docket shows two receipts by the proper officer of the city, one for the taxes of 1878 and one for “$598.61, taxes prior to 1878.” In 1879 the city filed a claim for taxes for 1875 and 1876, and brought suit thereon in 1884 and obtained judgment for want of an affidavit of defense in 1889. This judgment was revived in 1894 and again in 1899. The scire facias issued in 1884 was served on the registered owner who conveyed the real estate to Swain in 1892. In 1903 the trustee of Swain’s estate obtained a rule to show cause why the judgment should not be opened, which was made absolute. The issue tried was whether the lien of the taxes for which judgment had been obtained had been discharged by the sheriff’s sale in 1878. One of these appeals is from the order opening the judgment, the other is from the direction to the jury to find for the defendant. It was agreed at the trial that “ Swain in no way assumed the payment of the taxes, either actually or constructively.”
Under the Acts of February 3, 1824, P. L. 18, and March 11, 1846, P. L. 114, taxes in the city of Philadelphia are discharged by a sheriff’s sale if the proceeds of the sale are sufficient to pay them: Smith v. Simpson, 60 Pa. 168. The fund realized by the sheriff’s sale in 1878 was sufficient to pay the costs and taxes, and the lien of the taxes was discharged. If the claim for taxes had been a valid one, the lien was lost by the failure to bring suit within five years from the time the taxes became due: Philadelphia v. Hiester, 142 Pa. 39; Philadelphia v. Kates, 150 Pa. 30. It is argued, however, that when Swain took title he had constructive notice that a claim had been filed and judgment obtained thereon, and that he had no standing *250as terre-tenant to contest the validity of the judgment. A search of the record would have disclosed a claim for taxes filed after a sheriff’s sale which discharged them, and a receipt by the proper officer showing their actual payment; and that a scire facias had been issued on this claim three years after the right of action was-barred. Swain was not in the position of a purchaser of land subject to an encumbrance who seeks to avoid it because of an irregularity which his grantor might have taken advantage of. The lien in this case had nothing to support it, and was absolutely invalid. It was discharged by operation of law, if not by actual payment. In Smith v. Simpson, 60 Pa. 168, it was held that a sheriff’s sale for taxes, the lien of which had been discharged by a prior sheriff’s sale on a judgment for arrears of ground rent, passed no valid title to the purchaser.
The judgment is affirmed.