Two men are suing the New Jersey Lottery Commission, claiming the commission led them to throw away a winning Powerball ticket worth $1 million last year.

Salvatore Cambria and Erik Onyango of Suffern, Rockland County, New York, say they purchased the winning ticket for the March 23, 2013, lottery at a 7-Eleven in Mahwah, New Jersey. Onyango said he checked the New Jersey Lottery Commission website for the winning numbers 15 minutes after the 11 p.m. drawing, and it appeared they didn't having the matching numbers.

"I'm like this, this, this while he's checking and, like, 'Oh, no. It's not the one,'" Onyango said, according to CBS New York.

"I crumpled it up, put it inside of an empty cigarette pack, and put it in my garbage can," Cambria said.

However, the website was displaying the winning numbers from a previous drawing. By the time Onyango discovered that he had actually bought a ticket that matched five numbers and was worth $1 million, it was too late.

"By the time they realized what [had] happened, their money was headed to a garbage dump somewhere in Canada," said Edward Logan, an attorney representing the two friends, the New York Daily News reports.

The men have now filed a lawsuit against the New Jersey Lottery in Trenton.

"I was very upset -- mad, angry, hurt -- everything. I'm like, this is my ticket out of here," Cambria said.

Gladys Gannon, a worker at the 7-Eleven, said she's sure she sold the winning ticket to Onyango.

"I remember that night he was in here and I sold it to him -- three individual tickets on the Powerball," Gannon said.

Now the men are suing the commission for their winnings, arguing they never would have thrown away the ticket had the correct numbers been on the commission's website.

The commission has not commented on the pending lawsuit.