If any real estate is advertised to be sold at execution sale, held pursuant to any judgment in an action to which any county shall be a party, the board of county commissioners of the county may instruct the county auditor to bid on the real estate in the name of the county. The commissioners shall fix the maximum price for the auditor to bid for the real estate. The county auditor upon the receipt of the instructions shall attend the sale. The county auditor shall bid on the real estate, but may not exceed the maximum amount fixed by the board. The county auditor shall purchase the real estate at the lowest price at which the real estate can be procured. Any county may hold in its own name and for its own benefit all real estate acquired under the provisions of this section.
SDCL 7-19-2