MISSOULA, Mont. (AP) ¬†Bernie Sanders has won the Democratic presidential primary in Montana, claiming a late victory over rival Hillary Clinton on the night she claimed victory in the race for their party’s nomination.

Sanders won Montana as he was speaking to a rally in Santa Monica, California, where he vowed to press on to next week’s final Democratic primary of the 2016 campaign in Washington, D.C.

Donald Trump has won the Republican presidential primary in Montana.

Story continues below

Trump will now go on to the national convention in July with more than enough delegates to become the official nominee, but his candidacy remains a source of controversy, with many in the GOP struggling to rally behind the brash billionaire.

Prior to his win in Montana Tuesday, Trump earned at least 1,239 bound delegates who are required by party rules to vote for him at the convention. It takes 1,237 delegates to win the GOP nomination.

Trump also has public support from 95 unbound delegates, but they could possibly change their minds and switch to another candidate.