The controversial candidate will face Susan Collins in the general election.