Dozens of 17-year-olds voted illegally in the 2016 Wisconsin primary, according to a new state report.

According to a report by the Wisconsin Elections Commission, the individuals incorrectly thought they could cast ballots in the primary if they turned 18 before the November general election.

Texas Sen. Ted Cruz won the Republican primary in Wisconsin, and Vermont Sen. Bernie Sanders won the Democratic primary. President Trump won the state in November for the first time for a GOP presidential candidate since 1984.

The commission found at least 60 cases of 17-year-olds voting in the April primary in 29 counties. The report did not track who the individuals voted for, and it found no instances in underage voters casting ballots in the general election.

According to commissions spokesman Reid Magney, the teenagers may have been confused about their eligibility. Some messages in other states encouraged 17-year-olds to go to the polls, saying they could do so as long as they were 18 before Election Day.

"It wasn't a case of anyone sneaking in," Magney said. "It was a misunderstanding of the law."

The report comes as Trump has called for a "major investigation" into voter fraud. The president has alleged, without evidence, that 3 to 5 million people voted illegally in November, causing him to lose the popular vote.