The winning Mega Millions ticket was purchased by two people in Illinois.

The winning ticket was purchased at a gas station outside of Chicago and the two winners decided to split the prize. They wanted to remain anonymous but said they were over the moon.

The winners have been working with legal and financial advisers to support their claim. They decided to take a reduced lump sum payment at its current market value of $780.5 million, rather than getting the full amount over the course of 29 years.

A lump sum payment is the most common one. Kevin O'Leary says that more money up front means more money to invest and grow over the long term.

The total amount of money given to the two winners is about $450 million.

With the lump sum option, the payouts would be taxed at the highest rate for top earners. The winnings would be taxed by the state of Illinois at a rate of 4.95%.

According to Mega Millions.com, there is a 1 in 30 million chance of a Mega Millions winner.

You can get smarter about your money and career by signing up for our weekly newsletter.

There are 4 things that will be more expensive after the Fed hiked its interest rate.

Why rent in NYC is out of control right now

CNBC owns the rights to the show.