their labor or services; but this right is not absolute. This right of the father, like any other right, may be lost or forfeited by his misconduct; and in such cases courts of equity, to promote the welfare and best interests of the children, have taken them from him, and placed them in the custody ■of others; and this jurisdiction is exercised in this country in proceedings by habeas corpus affecting the custody of infants. Dumain v. Gwynne, 10 Allen, 271. In Comm. v. Briggs, 16 Pick. 205, it was said by Shaw, 0. J., that “ In the case of a child of tender years, the good of the child is to be regarded as the predominant consideration. There may be cases in which the court would not interfere, in favor of the father, to take the child from any safe custody to deliver it to him, as where he is a vagabond, and apparently wholly unable to provide for the wants and safety of the child. . . . And the court will feel bound to restore the custody, where the law has placed it, with the father, unless in a clear and strong case of unfitness on his part to have such custody.” The relative rights of the parents to the custody of their children, when they have separated and are living apart, was very elaborately and fully considered and discussed in the case of People v. Mercein, in its different stages in the court of chancery, in the supreme court, and in the court of errors, of New York, and the right of the father to the custody of the minor children was sustained substantially as stated. People ex rel. Barry v. Mercein, 8 Paige, 47; 3 Hill, 399; Mercein v. People ex rel. Barry, 25 Wend. 64.
The question vital to this controversy depends, we think, upon the proper construction and effect to be given to sec. 3964, E. S., which has been in force ever since 1849, providing that “The father of the minor, if living, and in ■case of his death, the mother, while she remains unmarried, being themselves respectively competent to transact their own business, a/nd not otherwise unsuitable, shall be entitled to the