No action for the recovery of real property or for the possession thereof may be maintained, unless the plaintiff, or the plaintiff's ancestor, predecessor, or grantor, was seized or possessed of the premises in question within twenty years before the commencement of such action.
28-01-05. Actions founded upon title to real estate or to rents or services therefrom - Limitations. 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.