delivered the opinion of the court.
The original petition as first amended set up the completion of the building and its acceptance by the owner.
These were the allegations under which the evidence was presented. The failure of the testimony to establish these allegations is complete. The preponderance of the evidence showed that Leinhart abandoned the building long before it was completed and left the State of Illinois, never thereafter to return. This variance was specifically pointed out *262by counsel for áppellees at the close of appellant’s evidence. Therefore the decree entered herein was right; unless, first, when the cause was tried and the decree entered the amendment of ¡November 1, 1904, was a part of the petition; or, second, unless the court erred in vacating and setting aside the order of ¡November 1, 1904, giving appellant leave to file said amendment to its petition.
First. Appellant says that while the court set aside and vacated the order granting leave to file the amendment of ¡November 1, 1904, it did not specifically" strike the amendment from the files; so that the hearing really took place upon the amended bill as thus amended, with appellees in default as to the last amendment filed.
The answer to this contention is found in section 8, chapter 7, ¡R. S., which says: “¡No process, pleading or proceeding shall be amended * * * without the order of court, or by some other court of competent authority.” Section 9 of the same chapter says: ' “The provisions of this act shall extend to all actions in courts of law or chancery.”
When the order granting leave to appellant to file this amendment was vacated and set aside it then stood as if leave to file it had never been given. Without that leave it could not and did not become a part of the papers in this case, no matter how many times it had been marked “filed” by the clerk of the Circuit Court. A paper thus filed is disregarded by the court. Roberts v. Stigleman, 78 Ill., 120.
Permitting a bill to be amended is a. matter resting in the sound discretion of the chancellor, and his decision will not be reviewed by an appellate tribunal, unless there has been an abuse of that discretion. Hewitt v. Dement, 57 Ill., 502.
In Hoyt v. Tuxbury, 70 Ill., 342, the court say: “The objection that the court refused to allow certain amendments to be made after the hearing and final decision of the case in the court below, cannot be assigned for error. Whether the amendment should be made, or not, rested purely in the discretion of the court.” •
*263It is elementary that an application to amend a bill in chancery must be made within a reasonable time after the necessity for such an amendment is or should have been discovered. An unreasonable delay in offering the amendment is good ground for the chancellor to refuse to exercise the discretionary power to permit an amendment. 1 Barb. Ch. Pr. (1st ed.) 207; Wolverton v. Taylor, 157 Ill., 485.
The original petition was filed in this case August 25, 1892; amended November 28, 1892; redocketed in the Circuit Court, October 7, 1895; twelve days later the defendants plead the abandonment of the contract by Leinhart; nearly five years later appellant filed a general replication to this plea; four years from the last date the cause is called for trial; and then, and not till then, an amendment was filed, which sets up the matter contained in the plea mentioned. In other words, appellant suffered nine years to pass before it ascertained the fact that the allegation in the bill was false and that contained in the plea •was true. Under these circumstances it was not an abuse of his discretion for the chancellor to vacate and set aside the order of amendment dated November 1, 1904, as improvidently made.
There is another reason why the court was justified in vacating such order. The original petition, and as amended up to the time of the trial, was that Leinhart, the contractor, had completed the building, and that the owner had accepted it, without either of them having paid appellant for the materials which as subcontractor it had sold to the contractor for and had been used in the building. Out of these facts a lien arose under section 29 of chapter 82 B. S., as then in force.
The facts set forth in the amendment of November l,1 1904, were that Leinhart, before said building was fully completed, abandoned the same and surrendered it to the owner, and that the building was then worth more than enough to pay the claim of appellant over and above the then cost of the buildings and any damages sustained by the *264owner by reason of the nonfulfillment of the original contract for its construction. Under these facts a lien is given by section 45 of the same act. These are different grounds-of recovery, distinct from each other, and dissimilar, having-this only in common, that, if a recovery is had upon either set of facts, a lien follows. Milliken v. Whitehouse, 49 Me., 527.
The amendment of Bovember 1, 1904, stated a different cause of action from that alleged in the petition, which was filed twelve years before. It came too late. Courts of equity have always discountenanced laches and neglect, and this without reference to the existence or to the lack of limitations in actions at law. Angel on Tims., 21; 1 Beach Mod. Eq., Sec. 20. In those courts laches have the same effect as have statutes of limitations at law; or, to state it differently, equity follows the law, or acts in obedience to it; and wherever the laches in a cause in equity are so great that, if the case were at law, the limitation acts would apply; equity will enforce a like rule. Reynolds v. Sumner, 126 Ill., 72; Gordon v. Johnson, 186 Ill., 31.
By section 37 of the Lien Act in force in 1892, the subcontractor is given the election to file a petition in chancery or to bring an action at law against the owner and the contractor. If he had chosen to sue at law, section 15 of' chapter 38, B, S-. Hurd, limiting all civil actions not herein otherwise provided for to five years from the time they accrued, would apply. The rule that where the remedies are concurrent, and the claim is barred at law, equity, in obedience to the statute, will 'refuse a remedy, -is too well understood to need the citation of authorities for its support. It follows that this new cause of action having been presented for the first time more than five years, namely, twelve years, after it accrued, the chancellor was fully justified in refusing to permit this amendment to be made.
The decree of the Circuit Court is affirmed.
Affirmed.