An Amazon worker quit his day job after winning the top prize in the UK National Lottery's Set for Life draw.

Dean Weymes, 24, who worked shifts and weekends for Amazon's transport team, won £10,000, or about $12,000, every month for the next 30 years. That's just under $4.4 million.

Weymes said Amazon's human-resources team thought he was joking when he said was quitting because he won the lottery.

Visit Business Insider's homepage for more stories.

An Amazon worker quit his day job after winning the top prize in the UK National Lottery's Set for Life draw.

—The National Lottery (@TNLUK) August 6, 2019

Dean Weymes, 24, who worked shifts and weekends for Amazon's transport team, said he checked his winning numbers after arriving at work at 7 a.m. on July 30, according to the Daily Mail.

He said that when he found out he had won, he realized he didn't need to be at work if he didn't want to be, so he said he was sick and went home.

"The following day, I went in to quit. I went to HR and said I have to leave. They said to fill out the form, which said 'Why are you leaving?'" he told the Daily Mail. "I wrote 'Won lottery/retirement?' and they were like, 'You can't put this down' — I think they thought I was putting a joke reason."

Weymes won £10,000, or about $12,000, every month for the next 30 years, which works out to $4.4 million in total.

"I am now literally set for life," he told the BBC.

He told the Daily Mail he planned to use the money to help support his brother, who he said has "severe autism," and start a career as a screenwriter.

"I studied screenwriting at university, as this has always been a passion of mine, but I have never been able to do anything with this," he said, adding, "I can turn my passion into a job — something I never thought I could do."

An Amazon representative told Business Insider that it was "delighted" for Weymes and wished him success in becoming a screenwriter. "Perhaps one day he'll be creating blockbusters for Amazon Studios!" the representative said.