N.D. Cent. Code § 28-26-28 (2025)
If the plaintiff in an action after its commencement becomes a nonresident of the state, the plaintiff shall give surety for costs in the same manner as is required of a nonresident in commencing an action.