Where the exchange of land shall result in the acquisition by the county of land in a different taxing district than the land which the county has exchanged for, the county commissioners shall pay or adjust any claim for taxes which such district or districts may have against such exchanged lands, and shall be authorized to compromise any claim or claims for taxes or penalty and interest as may be agreed upon between the county commissioners and the governing bodies of such district or districts, all moneys received from the newly acquired land shall be apportioned in the same manner as if no such exchange had been made.
SDCL 7-31-33