Hillary Clinton looks on during her first presidential debate against Republican U.S. presidential nominee Donald Trump (not shown) at Hofstra University in Hempstead, New York, U.S., September 26, 2016. REUTERS/Brian Snyder More than 380,000 students in grades 2 through 12 have voted to elect Hillary Clinton as the next president of the United States.

Held by the 3-year-old education start-up Newsela, a platform for boosting literacy rates across the US, the voting took place from October 17 to November 1. The electorate consisted of 384,972 students from all 50 states.

When the votes were counted, Clinton took 57% to Donald Trump's 32%. Green Party candidate Jill Stein and Libertarian Party candidate Gary Johnson split the remainder.

Clinton won most swing states and even pulled students from states that most polls predict will vote for Trump on November 8. According to FiveThirtyEight, for instance, Trump has a 92% chance of winning Georgia in the national election, but Clinton won that state among students.

In line with the anticipated breakdown on Tuesday, students of minority races primarily supported Clinton, while white voters tended to back Trump.

In schools with more than 70% minority students, Clinton won more than 75% of votes. In schools with more than 70% white students, she won about 33%.

Data also reveals younger kids tended to favor Clinton more heavily over Trump. While roughly 60% of elementary school students backed Clinton, that percentage shrank to below 50% among high schoolers.

The results are similar to those of the Scholastic's student election, which included 153,000 students from kindergarten through 12th grade. Clinton won that vote with 52% to Trump's 35%.

Since Scholastic's first election in 1940, student voters have only picked a different candidate than the one who won the general election two times: in 1948 and 1960.

The results also align with the EveryKidVotes! mock election, which includes more than 700,000 students across the US and runs through November 4. As of this writing, Hillary has won 68% of the votes, while Trump has won 31%.

*Correction: A previous version of this article stated that the Newsela election was the nation's biggest student election. In fact, the EveryKidVotes! election is larger.