Mitsu Yasukawa, AP
New Jersey Gov. Chris Christie is surrounded by the media after casting his vote in the New Jersey primary at Emergency Services Building in Mendham Township, N.J., Tuesday, June 7, 2016. (Mitsu Yasukawa/The Record of Bergen County via AP) ONLINE OUT; MAGS OUT; TV OUT; INTERNET OUT; NO ARCHIVING; MANDATORY CREDIT

TRENTON, N.J. — New Jersey voters chose Donald Trump and Hillary Clinton in Tuesday's presidential primaries, while also picking their party's candidates in 12 U.S. House races.

Trump picked up 51 delegates, cementing his hold on the GOP nomination.

Clinton won the majority of the state's 126 pledged delegates. An Associated Press count Monday found that she has commitments from the number of delegates needed to secure her party's nomination over Vermont Sen. Bernie Sanders.

Trump's win in New Jersey comes amid new criticism of his attacks on a federal judge of Mexican descent, who is hearing lawsuits against Trump University.

Lucas Biel, 19, of Closter, an upscale suburb across the Hudson River from upper Manhattan, said he voted for Trump because he is the most realistic of the candidates due to his business experience.

"A lot of people think he's an extremist but at certain times you have to take certain measures," he said. "And he knows economics the best out of the three."

Biel said he distrusted Clinton for changing her positions too frequently, and said Sanders' socialist-leaning ideas were reminiscent of the failed policies in eastern Europe, from where his mother emigrated.

Trump, who picked Gov. Chris Christie to lead his presidential transition team, has not campaigned in the state aside from fundraising events that benefited Christie's presidential campaign and the state GOP last month.

Christie voted with his son Andrew Tuesday morning in Mendham Township. Both are listed as delegates for the presumptive nominee.

Christie said on Tuesday that he would not criticize Trump's comments about the judge and said that the presumptive Republican presidential nominee is not a racist.

Jene Jackson said after voting in Hamilton that she is a strong Clinton backer and felt that voting for her would make a statement, even after the AP count was revealed.

"She's pro-choice, supports gay marriage ... She's for letting people live their lives, not forcing her beliefs on others," Jackson said. "I also want her to be the person who picks the next Supreme Court justice."

As a black woman, Jackson said she was proud when President Barack Obama made history by winning the office she hopes Clinton will hold next.

"She is the best choice among those still out there," Jackson said.

Kenny Sheinbaum, of Lakewood, said he was a "totally committed" supporter of Sanders because he is the only candidate who cares about the working man.

"I'm a Democrat, but I'm really not a liberal. I'm willing to vote for a Republican if I think they're the best person for the job," Sheinbaum said. "I looked at what all the candidates had to offer, and Bernie was the best dog in the litter."

New Jersey's unaffiliated voters outnumber those with either party. State data released in April show 2.6 million voters were unaffiliated, compared to 1.8 million Democrats and about 1.1 million Republicans. Unaffiliated voters can choose a party at their polling place Tuesday to vote in New Jersey's closed primaries. It's too late for voters to switch parties.

Associated Press writers David Porter, in Closter, and Shawn Marsh, in Trenton, contributed to this story.