From the Virginia Lottery:
Although the jackpot-winning ticket in the July 8 Mega Millions drawing was not bought in Virginia, the Commonwealth benefitted from the excitement. During the 35 drawings of the jackpot run that began in March and ended Friday night, sales of Mega Millions tickets in Virginia generated approximately $17.5 million in profit. By law, all of that profit goes to K-12 public education in the Commonwealth.