(CNN) For one lucky person, this week just got a whole lot better.

A winning Mega Millions lottery ticket was sold in San Jose, California, according to a tweet on the state lottery's verified Twitter feed.

The winning ticket was sold at Ernie's Liquors on South White Road, the tweet said. It's the sole winning ticket, according to Mega Millions. The jackpot was up to a whopping $522 million.

"I hope he does a lot of charity, and maybe take care of all the family members and relatives around him or her. Whoever the person is, I wish good luck to them," store owner Kewal Sachdev told CNN affiliate KRON

The store stands to receive $1 million for selling the winning ticket.

Read More