A. A licensed child welfare agency may accept any child of a class, age and sex specified in its license, from the child’s parent, guardian or relative, or a child which is lawfully committed thereto, and shall care for and control the child until discharged to its parent, relative or guardian, transferred to another child welfare agency or otherwise lawfully committed to another.
B. A licensed child welfare agency may assume the care, custody and guardianship of the person or estate of a child, or both, during the minority of the child, upon the order of a court having jurisdiction.