In an action prosecuted in the name of the state for the recovery of money or property, or to establish a right or claim for the benefit of any corporation, limited liability company, or person, costs awarded against the party plaintiff must be charged against the party for whose benefit the action was prosecuted and not against the state.
N.D.C.C. § 28-26-23