No claim for relief, or defense, or counterclaim to an action founded upon the title to real property, or to rents or service out of the same, is effectual unless it appears that the person prosecuting the action or interposing the defense or counterclaim, or under whose title the action is prosecuted or the defense or counterclaim is made, or the ancestor, predecessor, or grantor of such person, was seized or possessed of the premises in question within twenty years before the committing of the act in respect to which such action is prosecuted or such defense or counterclaim is made.
N.D.C.C. § 28-01-05