law: 18. Decision of the District Judge.-
  (1) At the conclusion of the trial of an election petition, the court of the District Judge shall make an order-
  (a) dismissing the election petition; or
  (b) declaring the election of all or any of the returned candidates to be void; or
  (c) declaring the election of all or any of the returned candidates to be void and the petitioner or any other candidate to have been duly elected.
  (2) If any person who has filed an election petition has, in addition to calling in question the election of the returned candidate, claimed a declaration that he himself or any other candidate has been duly elected and the court of the District Judge is of opinion-
  (a) that in fact the petitioner or such other candidate received a majority of the valid votes; or
  (b) that but for the votes obtained by the returned candidate, the petitioner or such other candidate would have obtained a majority of the valid votes,
  the court of the District Judge shall, after declaring the election of the returned candidate to be void, declare the petitioner or such other candidate, as the case may be, to have been duly elected.