1-528. Mandamus to aid relator.

In any civil action brought to try the title or right to hold any office, when the judgment of the court is in favor of the relator in the action, it is the duty of the court to issue a writ of mandamus or such other process as is necessary and proper to carry the judgment into effect, and to induct the party entitled into office. (1885, c. 406, s. 1; Rev., s. 841; C.S., s. 883.)