II. But we do havé for consideration whether it was error to hold that plaintiff had not dismissed without prejudice.
The error of the trial court, then, deprived the plaintiff of nothing except prevailing in a subsequent suit for divorce brought by her. But since our affirmance of the validity of the earlier decree for divorce precludes any possibility of success should plaintiff again sue for divorce, the refusal to let her dismiss without prejudice did her no injury. It is not a prejudicial error to deprive a party of the right to institute suits that can by no possibility be successful.
She paraphrases the wórds “when a divorce is decreed, the court may make such orders,” into a statute declaration that such orders may be made only if a divorce is decreed. The exact question at this point is whether,, where there is a cross-petition asking affirmative relief as to custody, this statute provision works that there is no jurisdiction to make custodial orders if divorce is denied. This question might well have been determined in Garrett v. Garrett,
Now, in the last analysis, the position of appellee is that, notwithstanding this statute, the case is controlled by certain powers inherent in the chancery court, and the rule that, when equity once takes hold, it may go to the end, though in the end it award nothing but relief due at law. We think that neither of these control here. Certainly, the cases that we have analyzed do not sustain this claim of the appellee. We shall presently reach consideration of what place the inherent powers of a chancery court have in determining this case. For the present, it suffices to say that, no matter what inherent powers the chancellor has, it does not follow that he has them while entertaining divorce suits. That jurisdiction was originally exercised by the ecclesiastical court. Later, Parliament exercised it, as did the legislatures of the several states in this country. Power to grant divorces reached the courts through a relinquishment of legislative jurisdiction, accompanied by legislative grant upon condition. So, in determining a divorce suit, the chancellor acts strictly upon grant. That this is so' is made clear by the cases that make divorce jurisdiction depend upon strict compliance with the statute that grants the'power. See Williamson v. Williamson,
If, then, all there was in the case was a suit for divorce and a dismissal of the petition, there was no power in the divorce court to make custodial orders. And Davis v. Davis,
The exact question remaining is this: Though the divorce court has no power to make a custodial order upon denying the divorce, did the district court, though it had general chancery powers, lack jurisdiction to settle the custody of this child, on a cross-petition, whose filing or contents were in no manner challenged, and which prayed that the defendant have such custody, and where the parties voluntarily litigated whether or not defendant, rather than the plaintiff, was entitled to such custody? In Thomas v. Thomas, 250 Ill. 354 (
The question is not what the divorce court may or may not do, but how the challenge to jurisdiction now being made shall be dealt with, in view of the fact that the district court of Iowa is not merely a divorce court, but one that, on some side of the court, has ample power to say which of these
And we think that our position is fully supported by authority in other jurisdictions. In Horton v. Horton,
“While it looks beyond the authority of the chancery court in divorce suits where no divorce is granted to award the custody of the children, yet it cannot be questioned that the chancellor, of that court is invested with full power to award custody of minor children for their best interests on habeas corpus proceedings. It seems idle to turn parties out of court and invite them into the chancellor’s chambers for the same relief sought in court.”
It is our opinion that the decree of the district court must stand — Affirmed.
