When two or more persons are entitled to commence any such contest, any one of them may institute it, or two or more may join. The person or persons instituting any such contest involving an election or nomination to any office or position shall be denominated plaintiff or plaintiffs. The person or persons who at the time of starting such contest are officially declared elected or nominated to such office or position shall be named defendant or defendants.
SDCL 12-22-11