The election was triggered after Farage resigned from parliament last month to seek a fresh mandate from voters.