The board of county commissioners of each county and the governing body of any municipality shall provide for the representation of indigent persons described in § 23A-40-6. The board or body shall provide this representation by any or all of the following:
In those counties which have established an office of public defender, any proceedings after judgment may be assigned to the public defender. The provisions of chapter 5-18A do not apply to this section.
SDCL 23A-40-7