If a board of county commissioners elects to establish and maintain an office of public defender, it may join with the board of county commissioners of one or more other counties to jointly establish and maintain an office of public defender. In that case the participating counties shall be treated for the purpose of this chapter as if they were one county.
SDCL 7-16A-2