Glenn Youngkin supporters told the press that education was the No. 1 reason they voted for the Republican in Tuesday's Virginia gubernatorial election.

Parents across the state have become more vocal in their opposition to school boards' progressive lesson plans, and the fight has received national attention. When asked to respond to the battle over education at his debate against Youngkin earlier this month, Democratic candidate Terry McAuliffe said, "I don't think parents should be telling schools what they should teach." The Youngkin campaign quickly turned around and used the controversial line in campaign ads and, according to some voters that MSNBC caught up with, it was an effective strategy.

ELECTION DAY: VIRGINIA, NEW JERSEY POLLS OPEN IN GOVERNOR'S RACE SEEN AS REFERENDUM ON BIDEN: LIVE

"I believe McAuliffe hurt himself a lot with saying parents had no place to talk about education," one voter told MSNBC Tuesday. "That hurt him a lot, and that took away my support."

LIBERAL MEDIA IS ‘BRAZENLY’ LYING SAYING CRT ISN'T TAUGHT IN VIRGINIA SCHOOLS: NEWSBUSTERS

Others agreed that the fight over schooling is what drove them to the polls this year.

"The important issue this year was education," one voter said.

"Schools, the issues that are going on in schools right now," another Virginian in the video argued.

VOTERS-GUBERNATORIAL-VIRGINIA

A woman, who preferred not to give her name, gets verbal instructions from an Election Officer as she casts her ballot at a polling place at the Randolph Elementary School in Arlington, Virginia, U.S., November 2, 2021. REUTERS/Leah Millis (REUTERS/Leah Millis)

On CNN, voter Diane Meetre told correspondent Boris Sanchez the "school mess" and "critical race theory" are what motivated her vote.

"The critical race theory," she said. "I don't think it's right."

Another female voter told CNN much of the same, saying she voted for Youngkin, with education and "school safety" being her main concerns, in reference to reports the Loudoun County School Board covered up an alleged assault. Youngkin demanded the resignations of Loudoun County Superintendent Scott Ziegler and the school board in the wake of a bombshell email related to the scandal.

FALLS CHURCH, VIRGINIA - NOVEMBER 02: Democratic gubernatorial candidate, former Virginia Gov. Terry McAuliffe rallies supporters at a Canvass Kickoff event on November 02, 2021 in Falls Church, Virginia. Virginia and New Jersey hold off-year elections today in the first major elections since U.S. President Joe Biden's victory in 2020. Virginia's gubernatorial race pits Republican candidate Glenn Youngkin against Democratic gubernatorial candidate, former Virginia Gov. Terry McAuliffe. (Photo by Win McNamee/Getty Images) ___ Virginia Republican gubernatorial nominee Glenn Youngkin speaks during a campaign event in Old Town Alexandria’s Farmers Market in Alexandria, Virginia, U.S., October 30, 2021. REUTERS/Joshua Roberts

FALLS CHURCH, VIRGINIA - NOVEMBER 02: Democratic gubernatorial candidate, former Virginia Gov. Terry McAuliffe rallies supporters at a Canvass Kickoff event on November 02, 2021 in Falls Church, Virginia. Virginia and New Jersey hold off-year elections today in the first major elections since U.S. President Joe Biden's victory in 2020. Virginia's gubernatorial race pits Republican candidate Glenn Youngkin against Democratic gubernatorial candidate, former Virginia Gov. Terry McAuliffe. (Photo by Win McNamee/Getty Images) ___ Virginia Republican gubernatorial nominee Glenn Youngkin speaks during a campaign event in Old Town Alexandria’s Farmers Market in Alexandria, Virginia, U.S., October 30, 2021. REUTERS/Joshua Roberts (Photo by Win McNamee/Getty Images  |  REUTERS/Joshua Roberts)

McAuliffe claimed in a recent interview, however, that "everybody clapped" for his controversial line about parents trying to have an influence on what their kids are learning. He has also dug in on the debunked claim that Youngkin and some Virginia parents want to ban Black-authored books in schools, such as Toni Morrison's award-winning novel, "Beloved," which includes graphic depictions of the evils of slavery. In reality, the bill the Republican and the parents were advocating for would only notify parents to the material, not ban it.

Voters cast their ballots during the Virginia Governor Race, at Langley High School in McLean, Virginia, U.S., November 2, 2021. REUTERS/Tom Brenner

Voters cast their ballots during the Virginia Governor Race, at Langley High School in McLean, Virginia, U.S., November 2, 2021. REUTERS/Tom Brenner (REUTERS/Tom Brenner)

CLICK HERE TO GET THE FOX NEWS APP