21-28-8. Judgment on defendant's right to office and right of person allegedly entitled. In every such case judgment shall be rendered upon the right of the defendant, and also upon the right of the party alleged to be entitled as provided by § 21-28-6, or only upon the right of the defendant, as justice shall require.
Source: CCivP 1877, § 537; CL 1887, § 5351; RCCivP 1903, § 576; RC 1919, § 2787; SDC 1939 & Supp 1960, § 37.0513.