Someone from the Hudson Valley nearly hit the Mega Millions jackpot. Instead, the unclaimed ticket is worth $1 million.

The winning ticket was sold via Quick Pick in Ulster County. The ticket, for the July 10 Mega Millions game, was sold at Stewart's Shops located at 268 Broadway in Kingston.

The winning numbers on July 10 were 01-17-28-56-70. The ticket sold in Kingston matched on all five of the main numbers, but not the Mega Ball number. If, the ticket matched on the Mega Ball number, 70, the owner of the ticket would have won the jackpot worth over $300 million.

No one won the Mega Million jackpot on July 10. It took until the July 24 drawing for someone to win. That winning ticket was sold at a Northern Californa liquor store. The winner hasn't come forward, but the jackpot of about $543 million is the biggest in California history and third largest Mega Millions in the game's history, according to USA Today.