A man has won a $3.4 million lottery jackpot in Australia after using the numbers he saw in a "vivid dream."

The winner told lottery officials that he bought the tickets for the "Set for Life" game every week for years. He said he always had a feeling that he would win the division one prize.

According to the lucky man, he marked the numbers from his dream on the ticket for Sunday's "Set for Life" draw while grocery shopping.

"Now, this is going to be hard to believe, but years ago, I dreamt the numbers I mark my tickets with, and I've been using them ever since," the winner, who has not been named, said as per the Lott. "It was such a vivid dream, and in it, I used the numbers to play the lottery and then I won division one."

"It felt like a premonition. I'm not kidding! This isn't made up. It really happened," he added. "It feels as though it was meant to be. It's incredible."

When the prize money's amount didn't come up as he scanned the ticket, he knew he won big. He then headed straight to the game's head office and learned that he was the only division one winner and ended up winning around $3.4 million.

"It's so surreal. It's an incredible win. This is life-changing for me," he said as per news.com.au.

After getting the prize money, the man and his wife are thinking of cutting back on work or even retiring.

"It means we don't have to work anymore if we don't want to. We will help out our kids as well, and the rest we will use to really enjoy life," he told the outlet.

Winning the prize also means the family will no longer have to wait for sales and deals. "We'll be able to do and buy exactly what we want, when we want, which is just great," the man said.

The $3.4 million will be paid in installments of around $14,000 a month for 20 years.

man wins lottery for the second time Massachusetts
Representational Image Hermann - Pixabay