Section 101(b) in The Representation of the People Act, 1951
(b)that but for the votes obtained by the returned candidate by corrupt practices the petitioner or such other candidate would have obtained a majority of the valid votes, 1the High Court 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.