The jurisdiction of the clerks of the superior courts, in all matters, is regulated entirely by statute, and, in the case of infants, extends only to appoint them guardians, binding *33them ns apprentices, and (perhaps) granting orders allowing of their adoption. As the proceeding in this case falls under neither of these heads, it is clear to the court that the action of the clerk as regards this infant, was ultra vires, and it was proper therefore to dismiss the proceeding, as was done.
It is equally certain too, that the appellant acquired no right to the custody of the infant, Sarah Jane, under the deed of her mother. It may be questioned, in truth, whether in this state a mother can at all make a disposition of her child, though a minor, so as to confer upon another the right to have the custody and control thereof. This right, as well as that to the services of a child, is said by all authorities to be derived from, and dependent upon, the obligation which the law imposes upon the parent, to protect, educate and maintain the child during infancy, and when no such obligation is imposed, then no such rights exist. See Tyler on Infancy, 274 — 5, and the cases there cited.
In considering the obligations of á mother to support her infant child, this court declared in Jordan v. Coffield, 70 N. C., 110, that they were not the same or as great, as those of a father, and that the weight of authority was against such a liability on her part. If this declaration of'the law is to be accepted as binding upon the courts, it would seem to put an end to every right of the mother to control the custody of her child, or to have its services. As the point, however, does not appear to have been necessary to the decision of that case, and as the principle asserted seems not altogether consistent with other authorities, or with the law of our nature, we may not feel ourselves bound by it, should the question be more distinctly presented in another case. But be this as it may, there is not the least doubt in the mind of the court, as to the utter want of authority on the part of a parent — whether father or mother — to sell a child, and for a selfish consideration, commit it to the keeping of another.
As touching the right to the custody of children, the doctrines of the common law have been greatly weakened of late, and *34courts pay less regard to the strict legal rights of parents, even than they were wont to do, and look more to the interests, moral and physical, of the infants themselves — making it, indeed, their-paramount consideration.
In Hurd on Habeas Corpus, 528, it is said that where the custody of children is the subject of controversy, the legal rights of parents and guardians will be respected by the courts, as being founded in nature and wisdom, and essential to the virtue and happiness of society, still the welfare of the infants themselves is the polar star by which the discretion of the courts is to be guided; and to the same effect is the treatise on Infancy before cited, and Schouler on Domestic Relations, § 248.
If this be so in the case of a parent, how much more ought it to prevail in the case of a stranger, who, like the appellant, bases his claim to the custody of an infant, not upon any law of natural affection, but upon a contract of purchase made with a dying mother.
In this, moreover, lies the distinction between this case and those relied upon by counsel, where it was held, that whenever a party had been wrongfully deprived of property under the color of judicial proceedings, the law must see him restored to the possession, or else be untrue to itself. Here, it is not property which is the subject of the action, nor anything in which, strictly speaking, the parties can be said to have any rights. Throughout the whole case, the petitioner and the respondent both profess to have been governed in their action by considerations for the comfort and welfare of the infant alone; and in making the same considerations the controlling motive for his action, the judge below did just what the authorities all say he should have done.
No error. Affirmed.