When the contest is decided, costs shall be taxed against the candidate filing the complaint if he is unsuccessful, or, if he is successful, against the counties and cities included in the area in which the election was held. A certificate of election shall be granted to the successful party, unless he has already received one.
Code 1950, §§ 24-395.3, 24-437; 1952, c. 489; 1970, c. 462, § 24.1-244; 1993, c. 641.