The 2021 Virginia Attorney General election was held on November 2, 2021, to elect the next attorney general of Virginia. Democratic Attorney General Mark Herring attempted to win a third term. Herring initially planned to run for governor, but decided to run for re-election. Herring faced Republican nominee Jason Miyares in the general election. Herring conceded defeat at 5:02 PM EST the following day, November 3. Miyares became the first Cuban-American and Hispanic to be elected to statewide office in Virginia. Miyares was later sworn in on January 15, 2022.