Virginia Lottery officials say someone in Herndon bought a Mega Millions ticket that matched all six numbers for the $107 million jackpot. The winning ticket was sold at Giant Food, 1228 Elden Street, Herndon, which will receive a $50,000 bonus from the Virginia Lottery.

The Mega Millions winning numbers for July 1, 2011 are: 12, 17, 30, 35, 47 and the Mega Ball number was 26. Mega Millions said there was only one Jackpot winning ticket - sold in Virginia - that matched all the numbers and is worth an estimated $105 million. Friday's jackpot is one of the largest won this year.

The holder of the winning ticket could choose to take the entire jackpot amount in 26 annual payments or a single cash option of an estimated $68.1 million. There were 9 tickets matching 5 numbers, for a prize of $250,000.

This is the seventh Mega Millions jackpot won in Virginia since the game began in 2002. It is the third-largest jackpot ever won by a ticket bought in Virginia.

The multi-state lottery drawing is audited by KPMG. Drawings for Mega Millions are held Tuesdays and Fridays at 11:00 p.m. Five balls are drawn from a set of balls numbered 1 through 56. One ball is draw from a set of balls numbered 1 through 46.

You win if the numbers on one row of your tickets match the numbers of the balls draw on that date. There are nine ways to win a prize, which ranges from $2 to the jackpot.

If no one wins the jackpot, the money is carried over for the jackpot of the next drawing. Chances of winning any prize are 1 in 40, according to Mega Millions.

The biggest ever Mega Millions prize was a $390 million jackpot on March 6, 2007 when two tickets were sold in Georgia and New Jersey. The second largest prize was $380 million on January 4, 2011, when two tickets were sold in Idaho and Washington.