A court may correct an illegal sentence at any time and may correct a sentence imposed in an illegal manner within the time provided in this section for the reduction of sentence. A court may reduce a sentence:
whichever is later. A court may also reduce a sentence upon revocation of probation or suspension of sentence as provided by law. The remedies provided by this section are not a substitute for nor do they affect any remedies incident to post-conviction proceedings.
SDCL 23A-31-1