When a minor either has no natural guardian or has been abandoned, and the minor requires services from the county department of social services, the social services director in the county in which the minor resides or is domiciled shall be the guardian of the person of the minor until the appointment of a general guardian or guardian of the person for the minor under this Subchapter or the entry of an order by a court of competent jurisdiction awarding custody of the minor or appointing a general guardian or guardian of the person for the minor.
N.C. Gen. Stat. § 35A-1220