When an action is dismissed from any court for want of jurisdiction or because it has not been transferred regularly from an inferior to a superior court, the costs must be adjudged against the party attempting to institute or bring up the action.
N.D. Cent. Code § 28-26-12
Costs on dismissal of action
Official source: North Dakota Legislative Branch. Reproduced from public-domain North Dakota statutes; confirm against the official source for the current text. Not legal advice.