Upon the death of a defendant who has not been sentenced but who has entered a plea of guilty or nolo contendere or has been found guilty at trial, the court shall enter a judgment of conviction pursuant to § 23A-27-4. Any sentence imposed shall be limited to restitution, court costs, and costs of prosecution.
SDCL 23A-27-49