Smith, 0. J.,
delivered the opinion of the court.
George B. and Amanda Duncan were formerly husband and wife, and have one child, Harmon Duncan, a hoy, to determine the right to-the custody of which this habeas corpus proceeding was instituted, and who, when the decree appealed from was rendered, was seven years of age. In September, 1916, trouble arose between Mr. and Mrs. Duncan, because of which they finally separated in March following; George suing for and obtaining a divorce from Amanda on the ground of adultery on the 1.1th day of February, 1918, in the circuit court of Madison county, Tenn.; the decree then entered reciting:
“That defendant is guilty of adultery as charged; though complainant has condoned one offense, there are others proven, and he has not condoned the same, or been guilty of. a like offense, and the conditions of his condonation were not complied with.”
The child was taken charge of by George, and was placed by him in the care of his (George’s) father and mother, J. B. and Sallie Duncan, who live at Corinth, [273]*273Miss. In July, 1917, a writ of habeas corpus was sued out before Hon A. J. McIntyre, judge of the chancery court of Alcorn county, Miss., by Harmon Duncan, by his mother as his next friend, by which it was sought to have his custody transferred to his mother, and to which his father and grandparents were made defendants. The decree rendered on the trial thereof on August 1, 1917, recites:
. “Came on for hearing this cause on petition of Harmon Duncan, by his mother and next friend, Amanda Duncan, answer of respondents, George B. Duncan, J. R. Duncan, and Sallie Duncan, cross-petition of the said respondents, answer to cross-petition, and oral proof before the chancellor in vacation on the 1st day of August, 1917; and, after hearing the case on said date, and taldng the same under advisement, and after due consideration, it appearing to the satisfaction of the court from the proof that the little boy, Harmon Duncan, whose custody is in controversy in this case, will for the present be under better influences at Corinth, Miss., than at Cairo, and that it is for the best interest of the child that his care, custody, and control be awarded to the respondents, Geo. B. Duncan,, his father, and his paternal grandparents, J. R. Duncan and Mrs. Sallie Duncan:
“It is therefore ordered, adjudged, and decreed that, so long as circumstances remain practically as they are at present, the care, custody, and control of the said minor, Harmon Duncan, be awarded to the respondents, George B. Duncan, J. R. Duncan, and Mrs. Sallie Duncan ; and
.“It is further ordered that the care and control of the said minor be and is hereby reposed in his paternal grandparents, J. R. Duncan and Mrs. Sallie Duncan, to be supported and provided for by his said- father, George B. Duncan.
“It is further ordered that this order be and is hereby a temporary order, so long as conditions and cireum-[274]*274stances remain the same; and should circumstances change, so as to make it proper and advisable to change this decree and change the custody of the said minor, the same may be done on proper petition for that purpose, or by this court of its , own motion, but for the present the care, custody, and control of the said minor is awarded as hereinabove stipulated.
“It is further ordered that Mrs. Amanda Duncan is hereby permitted to visit said child at the home of the said J. R. and Mrs. Sallie Duncan, and that she shall be treated courteously and considerately while on said visits.”
On March 16, 1918, a petition was filed in the chancery court of Alcorn county, in the name of Harmon Duncan, by his mother as his next friend, to which George, J. R., and Sallie Duncan were made parties defendant, praying that the custody of the child be awarded to its mother. This petition sets forth the decree entered on the former trial, and avers that Amanda is a proper person to and should have the custody of the child; that “the conditions and circumstances are different from those shown to the court to exist at the former trial;” but does not aver wherein they are different, except an averment, not supported by the evidence, that “George Duncan has since the trial of this ease brought whiskey into the state of Mississippi, contrary to the laws of the United States and the laws of the state of Mississippi, to be sold in the state of Mississippi, contrary to the laws of said state.” The petition contained a further averment that:
“The defendants have violated said decree heretofore rendered in this cause in a manner to be shown on the hearing hereof. Petitioner further avers, on information and belief, that J. R. Duncan and Mrs. Sallie Duncan, two of said respondents, and the paternal grandfather and grandmother of said child, or both or one of them, have been exercising their influence since the former trial of this cause over said child to destroy [275]*275its love and affection for its mother, the said Mrs. Amanda Duncan.”
On April 14th the prayer of this petition was granted; the decree then entered, and from which this appeal was tafeen, reciting that:
“Be it remembered that the above-styled cause came on for hearing and was heard on the 23d day of March, 1918, it being the sixth day of the regular March term, 1918, of the chancery court of Alcorn county, on the petition of Mrs. Amanda' Duncan, mother and next friend, to set aside the temporary decree made and entered on the 7th day of August, 1917, in said cause, and to award the care and custody of the said Harmon Duncan to the said Mrs. Amanda Duncan, his mother, answer of J. R. Duncan, Sallie Duncan, and George Duncan to said petition, oral proof in open court, the stenographer’s notes of the testimony taken at the former hearing of said cause, and said temporary decree, and the court, after hearing said cause, by order duly made and entered on the said 23d day of March, 1918, took said cause under advisement for a decree is vacation; and it appearing to the satisfaction of the court from the proof that the petitioner is entitled to the relief prayed for in said petition, and that said cause should be reopened and said temporary decree, made on the 7th day of August, 191,7, be vacated and set aside, and that the care, custody and control of the said Harmon Duncan should be awarded to the said Amanda Duncan, his mother; and it further appearing to the satisfaction of the court that the said George Duncan, father of said Harmon Duncan, should have the privilege of visiting the said Harmon Duncan at the home of his said mother at reasonable times, and should have the privilege, if he so desires, of having said child visit him in the home of the said J. R. Duncan and Sallie Duncan for two months each summer at Corinth, Miss.:
“It is therefore ordered, adjudgel, and decreed that said temporary decree, made and entered on the 7th [276]*276day of August, 1917,- be aud the same is hereby vacated and set aside, and the care, custody, and control of the said Harmon Duncan be, and the same is, hereby awarded to the said Amanda Duncan, his mother.
“It is further ordered, adjudged and decreed that the said George Duncan shall have the privilege of visiting the said Harmon Duncan in the home of the said Amanda Duncan at all reasonable times, and that the said Harmon Duncan shall be permitted to visit bim for two months each summer in the home of the said J. R. Duncan and Sallie Duncan at Corinth, Miss., should the said George Duncan so desire.”
Both of the decrees herein rendered seem to be predicated upon the theory that the judge in a habeas corpus proceeding to obtain the custody of a child, can exercise all of the powers conferred by section 1673, Code of 1906 (section 1415, Hemingway’s Code), upon the chancery courts in divorce cases to make all orders touch-the care, custody, and maintenance of the children of the marriage as may be equitable and just under the circumstances of the parties and the nature of the case, and the right of the judge so to do is not here called in question, and consequently will not be determined.
The contentions of counsel for the appellant are, in effect, that, first, the decree rendered on the first trial is conclusive of the rights of the parties hereto, unless the circumstances surrounding them have materially changed since it was rendered, and that no such change in the circumstances have been shown; and, second, should that decree be held not to be conclusive, then under the evidence the mother should not have, been awarded the custody of the child.
The contentions of counsel for the appellee are, in effect, first, that a judgment or decree entered in a habeas corpus proceeding to determine the right to the custody of a child is not res adjudicata of the rights of the parties thereto; either under section 2466, Code of 1906 (section 2032, Hemingway’s Code), or the gen [277]*277eral law; or, second, if res adjudicata, to any extent, then only of the rights of the parties as they existed when the judgment or decree was rendered, and that the circumstances surrounding the parties hereto have so materially changed since the former decree herein was rendered as to require the custody of the child to he awarded to its mother; and, third, if mistaken in both of the foregoing propositions, the first decree herein rendered cannot be held to be res adjudicata of the rights of the parties hereto to any extent whatever, for the reason that it made only a temporary disposition of the child, and left the question of its permanent disposition open for determination in subsequent proceeding, and that this question should now be and was rightly determined by the decree appealed from.
Wo will assume for the sake of the argument, but without deciding, that the order first entered made only a temporary disposition of the child, and that on the second trial all questions touching the final disposition thereof were open for determination. The evidence presented to the court below, as it appears from the record, is in substance as follows:
George Duncan is, and was when the events hereinafter set forth occurred, a baggageman on the trains of the Mobile & Ohio Eailroad Company, his run being from Cairo, Ill., through Jackson, Tenn., to Okalona, Miss., and return, with a lay-over at each place; the longest being at Jackson, Tenn., at which place he and his wife lived during practically all of their married life. The house in which they lived was larger than their necessities required, so that they permitted several rooms thereof to be occupied by other persons, among whom was a man by the name of Howard, with whom, during her husband’s absences, Amanda practically lived in an immoral relation. She has the reputation in Jackson, Tenn., of being a woman of unchaste character. After discovering the relations which existed between Amanda and Howard, George abandoned her, obtained [278]*278the divorce hereinbefore referred to, and placed the child with his father and mother at Corinth; his work interfering with his personal care and supervision of it. The child’s grandparents are people of high character and are properly caring for it; George hearing the expense thereof.
Amanda denied that her relations with Howard were immoral or in any way improper, but introduced no testimony relative thereto, other than her reputation for chastity in Cairo, except her own, and the fact that her relations with Howard were such was abundantly proven. After George left her she returned to, and is now living with and is supported by, her father, who seems to be a most excellent gentleman, and is the superintendent of the buildiings and grounds of the public schools of Cairo, Ill. She lived in Cairo prior to her marriage, and her reputation there along all lines was then, and is now, good. Prior to her marriage she was active in church work, and since her return to Cairo she has engaged therein, being now a teacher of a class in, the superintendent of'the cradle roll of, and on the entertainment committee of, a Sunday school, and is a vice president of the Epworth League.
Amanda has no occupation and no property, other than a one-fifth interest in the estate of a deceased grandmother, the value of which estate is said by one of the witnesses to be five thousand or six thousand dollars, but the liabilities thereof and charges thereon, if such there be, do not appear. Her father’s income consists of his salary of ninety dollars a month as superintendent of the buildings and grounds of the public schools at Cairo, and in addition to Amanda he supports another daughter. There are a number of saloons in Cairo, to one of which the residence of Amanda’s father is in close proximity, and it is also in close proximity to the city’s “red light” district; but other people of the highest respectability live near him, and his and his family’s social position is good.
[279]*279Amanda1, her brother, and father testified that George (and he admitted that he) drinks whiskey and plays poker; hut, allowing for the evident desire of Amanda and her brother to state the case most strongly against George, the evidence does not disclose that he is either a common gambler or a habitual drunkard. Amanda claims that George “made a gambling den and whiskey shop and assignation place of “her house during her absences therefrom, but the only evidence introduced by her in support thereof was that George told her that he had done so. This statement, as well as the fact itself, was denied by George, and the neighbors had no cause to suspect that such was the case. George stated that on one occasion Amanda’s brother and two of the men rooming in the house brought several lewd women there without his consent, and that as soon as he discovered their presence he made them leave. George was reputed in Jackson, Tenn., to be a sober, honest, and moral man.
Amanda has visited the child three times since the first decree was rendered, remaining each time several days. She complains that on her first visit she was treated discourteously by the child’s grandparents, and was not permitted to enter their home. The facts in this connection are that the house in which J. E. and Sallie Duncan live belongs to one of their sons, and he objected to Amanda’s coming there. The child was sent to Amanda’s boarding house each morning while she was in Corinth, and was permitted to remain with her during each day.
The right of the father under the- common law to the custody of his legally begotten minor child, as against its mother, in a contest between them, has been modified by our statute, which appears as section 1673, Code of 1906 (section 141.5, Hemingway’s Code), to the extent that, while due regard should be paid thereto, the best interests of the child is now the question for prime consideration, and it should be placed “in the custody of [280]*280the parent best calculated under all the circumstances to promote its welfare.” Cocke v. Hannum, 39 Miss. 439.
Before G-eorge and Amanda separated, the child, the fruit of their marriage, was cared for by them jointly. It came into existence and became the common object of,their affection under an obligation on the part of each of fidelity to the marriage vow. Had that vow been kept, it would have remained in their joint care, and this unfortunate litigation would not have arisen. George’s home, on the continued existence of whch the joint care of the child by himself and Amanda depended, had been broken up by Amanda’s misconduct, and it would be, not only unjust, but also contrary to the law to permit her also to deprive him of his child, unless its welfare would be promoted thereby, which question will now be taken up for consideration.
The child has long since passed the age prior to which it requires attentions of such character .as can only be fully given by its mother, and it can now be cared for by another equally as well, barring the absence of such care as springs alone from a mother’s love.
Its father is able and desirous of supporting it, and at his request it is being eared for by its grandmother, the person of all others, next to its mother and father, to whom it would naturally become an object of interest and affection. The only charges against its father which arise to the dignity of proof are that he drinks whisky and plays poker to a limited extent; and while we freely 'admit that such habits are 'bad, we are not prepared to say that the indulgence therein by a father of themselves alone makes him, in the eyes of the law, an unsuitable person to intrust with the custody of his child. If the law were otherwise, many fathers in the past would have been, and we dare say many in the future would be, deprived of the custody of their children.
[281]*281The evidence does not indicate that the child will he cared for by Amanda any better than it is being cared for by its father and grandmother, and the absence of those attentions which spring from a mother’s love will be, to a large exent, offset by those which spring from a father’s love. Amanda has no means of supporting the child, other than her small interest in the estate of her grandmother, she herself being largely dependent upon the charity of her father,' and his income must already be overtaxed in the support of his family as now constituted. In the very nature of things as they now exist, the child must be supported by its father, or else it will suffer. Moreover, if given to Amanda, the child will be carried by her beyond the jurisdiction of the courts of this state, which would thereby be rendered powerless to afford the father or the child any relief he or it might become entitled to under changed conditions in the future. This would not alone be controlling, but may be here very properly taken into consideration along with other facts in the case.
Hardships will necessarily follow any decree that could be herein rendered, and justice demands that, if possible, they be so distributed as to bear lightest on the unoffending party. That Amanda was not permitted to visit the child in the home of its grandparents is not here material. Under the circumstances, they could hardly be expected to permit her to do so.
It is said by Amandadd’s cousel that this is in reality not a contest between George and Amanda, but between Amanda and the child’s grandparents. We no not so understand the record. Its grandparents are simply caring for the child at George’s request, he retaining his parental authority over it, so that the first decree simply approved an arrangement which George had already made; the obligation to care for and support the child still remaining on him.
[282]*282Tlie decree of the court below will be reversed, and the petition dismissed.
Reversed and dismissed.