An action on a cause of action founded on a deed is not maintainable if brought after the expiration of a limitation period of twelve years running from the date on which the cause of action first accrues to the plaintiff or to a person through whom the plaintiff claims.