Where several persons claim to be entitled to the same office or franchise, one action may be brought against all such persons, in order to try their respective rights to such office or franchise.

Source: CCivP 1877, § 541; CL 1887, § 5355; RCCivP 1903, § 580; RC 1919, § 2791; Supreme Court Rule 561, 1939; SDC 1939 & Supp 1960, § 37.0512.