Judgment.

In every case wherein the right to an office is contested, judgment shall be rendered upon the rights of the parties, and for the damages the relator may show himself entitled to, if any, at the time of the judgment.

[Code 1881 ยง 707; 1877 p 144 ยง 711; 1854 p 217 ยง 473; RRS ยง 1039.]