Decision of the contest.
Section 171
SEC. 171. Decision of the contest. — The court shall decide the contest within six months after it is presented in case of a municipal office, and within one year in case of a provincial office, and shall declare which among the parties has been elected, or in the proper case that none of them has been legally elected. The party who in the judgment has been declared elected shall have the right to assume office as soon as the judgment becomes final.