(1) In awarding the custody of a minor child as between opposing claimants, the dominant consideration is always the welfare of the child. An important, but strictly subsidiary, consideration, is the highly regarded natural rights of a parent, or secondarily, of a blood relation, or even of a stranger in blood if established in loco parentis.
It has been said in this state that the father of a bastard, merely as such, is not entitled to any preference with respect to its custody.—Matthews v. Hobbs, 51 Ala. 210. In that case, however, the contest was between the putative father and the maternal grandmother, the mother being deceased. But, as against a stranger in blood, most, if not all, of the courts accord preferential rights to the putative father, as being in harmony with na*608ture, and for the best interests of the child.—Pote’s Appeal, 106 Pa. 574, 51 Am. Rep. 540; Aycock v. Hampton, 84 Miss. 204, 36 South. 245, 105 Am. St. Rep. 424, 65 L. R. A. 689; Barela v. Roberts, 34 Tex. 554; Moritz v. Garnhart, 7 Watts (Pa.) 302, 32 Am. Dec. 762; State v. Nestaval, 72 Minn. 415, 75 N. W. 725; 2 Kent’s Com. 178; 7 Corp. Jur. 955. These authorities, indeed, affirm that the putative father is entitled to the bastard’s custody as against any person but the mother.
We are satisfied from the evidence before us that respondent is the father of this child, and the contest must therefore be treated as one between the putative father and the mother, in which the mother has prima facie the superior right of custody.
(2) We are satisfied from the evidence also that petitioner “gave” the child to respondent to be raised by him and his wife in their home. Such a gift, though fully executed, is of course not binding upon the mother in the same sense that an executed gift of property would be binding; nor, as to the child, is such a gift binding at all.—Marshall v. Reams, 32 Fla. 449, 14 South. 95, 37 Am. St. Rep. 118, 121. But such a gift or transfer is entitled to much consideration, so far as the mother’s rights are concerned, and especially when it has been deliberately made to the putative father. In a well-considered opinion on this subject the Supreme Court of New Jersey said: “I see no reason why the mother of an illegitimate child should not make a contract with the putative father by which she transfers all her rights of custody to the father. She may not be able to make any instrument which will transfer her duties, so far as the-law charges her with the duty of supporting her child. It may be conceded that she cannot by any instrument evade that obligation, and that that obligation can be enforced by the court on behalf of her child, in spite of all the instruments of transfer that she might see fit to make. But we are not dealing with that situation here. We are dealing, simply with the question of a transfer of a right, and I cannot see any reason why the mother of an illigetimate child should not make a transfer of her right to the putative father.”—Ousset v. Euvrard (N. J. Ch.), 52 Atl. 1110, 1112.
(3) So in such a case the expressed wishes of the child, it being over seven years of age and of apparent intelligence and discretion is usually accorded great weight by the court: “It is not the whim or caprice of the child which the courts respect, but its feelings, its attachments, its preferences, and its probable *609contentment. * * * The wishes, however, of children of sufficient capacity to choose for themselves should be given especial consideration when their parents have for a long time voluntarily allowed them to live in the' family of another, and the court will make no coercive order in such cases to enforce the mere legal right of the parent to their custody against the manifest inclination and reasonable choice of the children to remain where they are.” — Hurd on Habeas Corpus, 532, 533; 3 A. & E. Ency. Law, 888; 7 Corp. Jur. 953.
(4) Independent of the considerations above discussed, the court will have regard for the age and sex of the child, its home surroundings, both moral and material, and, very especially, the relative character and personality of the contesting claimants.
The trial court here had the child and her claimants before it, and heard and saw the witnesses. In view of the evidence we cannot say that the chancellor erred in his conclusion that the interests of the child would be best subserved by leaving her in the custody of her father, the respondent, and we cannot with any sort of assurance, venture to disturb his action.
The judgment will be affirmed.
Affirmed.
Anderson, C. J., Mayfield, and Thomas, JJ., concur.