Anyone having a person in his custody or under his restraint, power, or control for whose relief a writ of habeas corpus is issued who, with intent to avoid the effect of such writ, shall transfer such person to the custody, or place him or her under the control of another, or shall conceal him or her, or change the place of his or her confinement, with intent to avoid the operation of such writ, or with intent to remove him or her out of this state, is guilty of a Class 5 felony.
SDCL 21-27-11