in Kartman v. Kartman, 163 Md. 19, 22, 161 A. 269 [1932], namely, Re Petition of Frank B. Bort, 25 Kan. 308, 37 Am. Rep. 255: “When the custody of children is the question... the best interest of the children is the paramount fact Rights of father and mother sink into insignificance before that. Even when father and mother are living together, a court has the power, if the best interests of the child require it, to take it away from both parents and commit the custody to a third person. In other words, a court of chancery stands as a guardian of all children and may interfere at any time and in any way to protect and advance their welfare and interests.” (emphasis added).
See DeGrange v. Kline, 254 Md. 240, 243, 254 A. 2d 353 (1969); McClary v. Follett, Jr., 226 Md. 436, 441, 174 A. 2d 66 (1961); Melton v. Connolly, 219 Md. 184, 188, 148 A. 2d 387 (1959); Trenton v. Christ, 216 Md. 418, 420-423, 140 A. 2d 660 (1958); Ross v. Pick, 199 Md. 341, 351, 86 A. 2d 463 (1952); Piotrowski v. State, 179 Md. 377, 382, 18 A. 2d 199 (1941). In parent-third party disputes, however, there is a twist to the application of the best interest standard.
It was the rule of the common law that parents have the natural right to the custody of their children, and it once was that, “as between mother and father, the primary right to the custody of children is in the father, since it is his duty to provide for the children’s protection, maintenance, and education.” Carter v. Carter, 156 Md. 500, 505, 144 A. 490 (1929); See Dunnigan v. Dunnigan, 182 Md. 47, 51-52, 31 A. 2d 634 (1943); Piotrowski v. State, supra, 179 Md. at 381-382. Neither of these common law concepts is now viable in Maryland. Our decisions make clear, as we have indicated, that the right of a parent to the custody of the child would not be enforced inexorably, contrary to the best interest of the child, on the theory of an absolute legal right.2 As
2
We explained this in Ross v. Pick, 199 Md. 341, 351, 86 A. 2d 463 (1952): This principle is based upon the theory that, while the law of nature gives the parents the right to the custody of their own *177children, a child from timo of birth owes allegiance to the State, and the State in return is obligated to regulate the custody of the child whenever necessary for its welfare.