This is an appeal from a judgment entered in favor of the plaintiff. The action was one in equity, brought to restrain the defendant, as sheriff of Pennington county, from selling four certain dioses in action and mechanics’ liens set out in the complaint. The defendant interposed a demurrer to the complaint on the ground that it did not state facts sufficient to constitute a cause of action. The demurrer was overruled, and, the defendant declining to answer, judgment was entered in favor of the plaintiff.
A motion has been made by the respondent to dismiss the appeal on the ground that before the appeal was taken the defendant’s office as sheriff had expired, and he had no longer any interest in the controversy. But, in the view we take of the case, we do not deem it necessary to decide this motion, and shall proceed to discuss the case on its merits.
The two principal questions which we shall consider in this case are (1) whether or not the demurrer should have been overruled, and (2) whether or not a judgment was properly entered on the part of the plaintiff.
It is contended on the part of the appellant that the facts stated in the complaint are insufficient to authorize the court to grant an injunction. The facts alleged in the complaint may be briefly stated as follows: Between May 1, 1890, and March 1, 1891, the Grand Island & Wyoming Central Railroad Company caused to be constructed a certain railroad from Edgemont, in Fall River county, to Deadwood, in Lawrence county; that said railroad company let a contract for the construction of said road to John Fitzgerald & Bro., who sublet contracts for various sections of the road to a number
It is scarcely necessary to state that the demurrer admits the facts stated in the complaint. It is therefore admitted that the four claims of Sweeney against the railroad company and the various contractors, were assigned to Halley as security for an indebtedness exceeding the
The case, therefore presents many peculiar features which distinguish it from any ordinary case where the sheriff is threatening to sell property under excution. Whether or not courts of equity will
It is further contended on the part of the plaintiff that the judgment in this case should be reversed for the reason that it was entered without any proof being taken as to the facts alleged in the complaint. But we are of the opinion that there is no merit in this contention. The defendant having declined to answer, and elected to stand upon his demurrer, the plaintiff had an undoubted right to enter judgment in this case upon the complaint without further proof, there being no question of damages. It is true our Code of Civil Procedure provides that when a party has appeared in an action he is
