This chapter does not affect the right to institute or prosecute any cause of action by or against an agency if the cause of action accrued prior to the termination date of the rules of the agency. Any causes of action pending on the date that the rules of an agency are terminated, or instituted thereafter, shall be prosecuted or defended in the name of the state by the attorney general.
SDCL 1-26B-12