Donald Trump has reached enough delegates to clinch the Republican nomination for president, the Associated Press reports.

According to the AP, Trump reached 1,238 delegates on Thursday — one more than the number of delegates required for a candidate to nab the GOP nomination.

Trump was put over the top in the Associated Press delegate count by a small number of the party’s unbound delegates who said they would support him at the convention in Cleveland.

There are still five state primaries left to go and 303 more delegates are at stake as California, Montana, New Jersey, New Mexico and South Dakota vote on June 7.

Trump, whose 16 rivals all already dropped out of the race, is now officially the Republican Party’s presumptive nominee. John Kasich and Ted Cruz were the last two to throw in the towel, ending their campaigns at the beginning of May after a pivotal loss in Indiana.

Trump won’t be the official nominee until July, but he now avoids a contested convention.

Hillary Clinton is likely to clinch the Democratic nomination over Bernie Sanders on June 7.

Trump, arguably one of the Republican party’s most divisive candidates of late, has divided both the party and the country with his harsh rhetoric about women, Hispanics, Muslims and others minorities. The real estate tycoon and reality star launched his campaign by called Mexicans “racist.”

Hispanics “are going to vote for me like crazy,” he said at a rally in Anaheim on Wednesday, where protesters and supporters clashed — a reflection of his campaign at large.