A man who was scammed out of his $5 million dollar lottery ticket will finally get his reward money 7 years after losing the lottery ticket.

On Wednesday, New York State Lottery Officials verified that Robert Miles won a 2006 scratch-off ticket jackpot. The verification came after courts ruled that employees of the convenience store where Miles bought the ticket attempted to scam Miles from his winnings.

Syracuse-native Miles bought the lottery ticket in Oct. 2006. When he realized he won, Miles brought the ticket to The Green Ale Market to cash it in. According to Miles' court testimony, however, the market's employees, Andy and Nayel Ashkar, told him that the ticket was only worth $5,000. Andy and Nayel, who are brothers and sons of The Green Ale Market's owner, gave Miles $4,000 and kept $1,000.

In 2012, the Ashkar brothers claimed the ticket as their own and tried to cash it in. As a result, an investigation by state gaming began and, eventually, a criminal trial in Onondonga county followed.

In May, Andy, 35, was convicted of possessing the stolen lottery ticket and faces up 25 years in prison.

There was not enough evidence to convict Nafel.

Both Andy and Nafel were cleared of conspiracy charges. Their father, on the other hand, admitted to lying in a state lottery affidavit and pleaded guilty to filing a false instrument. He will face conspiracy charges in court in Sept.

During the trial, Miles, a Syracuse apartment complex worker, said that he was addicted to crack cocaine at the time of the incident. As a result, he said he was confused by the exchange that occurred.

On Wednesday, lottery officials who monitored the trial and did their own security check verified Miles' ownership and gave him his award money.

At the time he bought the ticket, Miles would have been allotted $250,000 annually for 20 years. Since then, however, the rules have changed. Miles now has the option to receive his $3.2 million jackpot in a lump sum. After taxes, the cash will total $2.1 million.

Miles will be paid in a couple of weeks.

"[Miles is] elated the lottery prize has finally been awarded him. Steve Gamareri, Miles' attorney, said in an interview with The Post-Standard.