A. A child in need of care proceeding shall be commenced by petition filed by the district attorney. The Department of Children and Family Services, when authorized by the court, may file a petition if there are reasonable grounds to believe that the child is a child in need of care.B. At any time prior to adjudication, any person, including a relative of the child, may petition the court for the provisional or permanent legal custody of the child.