The parent of any child under the age of ten years and any person to whom any such child has been confided for nurture or education who deserts such child in any place with intent to wholly abandon the child, is guilty of a Class 4 felony.
SDCL 25-7-15