delivered the opinion of the court:
This is a suit in equity to foreclose a mechanics’ lien for labor furnished and performed in the construction of the defendant’s railroad. The defendant demurred to the complaint on the ground that it did not state facts sufficient to constitute a cause of suit, which demurrer the court sustained, and, the plaintiffs refusing to further plead, rendered judgment dismissing the complaint, from which judgment this appeal is taken.
The contention for the plaintiffs is, that even if the complaint fails to set out a case for equitable cognizance, it sufficiently states a cause of action for the recovery of the money due for labor performed, and hence, that the court erred in dismissing the suit. In the practice codes of nearly all the states, not only the old forms of action, but the distinctions between actions at law and suits in equity, have been abolished. In this state the distinction heretofore existing between forms of action at law is abolished (section 1, Hill’s Code), but proceedings in equity are still' kept distinct from actions at law. (Code, chapter V. “ Suits in Equity.”) In this respect our code system differs from the code system of many other states. In our practice, a suit is in equity, and relates to something of equit
The jurisdiction in equity and law is distinct and independent. Where, therefore, there is a plain, adequate, and complete remedy at law, a court of equity is without jurisdiction to grant relief. If the cause of action involves a purely legal right, it can only be prosecuted and tried at law. In Phipps v. Kelly,
There was no error and the decree must be affirmed.
