21-14-5. Compensation for improvements to real property made by defendant claiming in good faith.
In an action for the recovery of real property, upon which permanent improvements have been made by a defendant or intervener, or those under whom he claims, holding under color of title adversely to claim of plaintiff, or another defendant or intervener, in good faith, the value of such improvements must be allowed as a counterclaim by such defendant or intervener.
Source: CCivP 1877, §641; CL 1887, §5455; RCCivP 1903, §681; RC 1919, §2857; SDC 1939, §37.1516; SL 1949, ch 140, §1.