If judgment is for imprisonment in the state prison, or for the infliction of the death penalty, the sheriff of the county must, upon receipt of the certified copy of judgment, hold the prisoner in his custody until demand for such prisoner is made upon him by the duly authorized guard of said prison, who may be sent to convey such prisoner to the state prison. When such demand is made upon the sheriff by said guard, the sheriff shall deliver the prisoner and said copy of the judgment to said guard, and take a receipt from said guard for the prisoner and said copy of the judgment.
Idaho Code § 19-2704