When property is recovered from a defendant who, in good faith, holds the property under color of title adversely to the claim of the plaintiff, the value of any permanent improvements that the defendant or those under whom the defendant claims have made to the property shall be allowed as a setoff against damages allowed for the withholding of the property. The plaintiff may recover damages for withholding the property for a term of six years before the commencement of the action and for the period from the commencement to the verdict, both excluding the use of permanent improvements made by the defendant.
AS 09.45.640