Upon written request of the defendant, the prosecuting attorney shall furnish to the defendant such copy of his prior criminal record, if any, as is within the possession, custody, or control of the prosecuting attorney, and the existence of which is known, or by the exercise of due diligence may become known, to the prosecuting attorney.
SDCL 23A-13-2