If the father or mother of any child under the age of six years, or any other person having the lawful custody of such child, or to whom such child shall have been confided, shall expose such child in any highway, street, field, house, outhouse, or elsewhere, with intent wholly to abandon it, such person shall, upon conviction, be punished by imprisonment in the penitentiary not more than seven years, or in the county jail not more than one year.
Miss. Code § 97-5-1