SAN JOSE (CBSLA) — It was someone’s very lucky night in San Jose.

The winning Mega Millions jackpot California ticket was sold at Ernie’s Liquors on South White Road, according to California Lottery.

READ MORE: California Ranked Most Fun State In The Nation

The results from other states had not come in yet as of Tuesday night.

The winning numbers in Tuesday’s Mega Millions draw were: 1, 2, 4, 19, 29, and Mega number 20.

MORE NEWS: Philanthropist Mackenzie Scott Gives Millions To Southern California's State Universities, Community Colleges

The jackpot was $512 million, the fifth-largest in the multi-state game’s history.