If the judgment is for commitment to the legal and physical custody of the department of corrections and rehabilitation, the sheriff of the county, upon receipt of a certified copy thereof, shall take and deliver the defendant to the correctional facility designated by the department. The sheriff also shall deliver to the department a certified copy of the judgment and take from the department a receipt for the defendant and make return thereof to the court.
N.D.C.C. § 29-27-05