A former lottery worker was sentenced to 25 years in prison on Tuesday for rigging the system in several states so he could collect the jackpots.
Eddie Tipton, former security director of the Multistate Lottery Association, received the maximum sentence from an Iowa judge, who mentioned Tipton's "greed" in his sentencing.
"I certainly regret my actions," Tipton told the court. "It's difficult even saying that with all the people that I know behind me that I hurt."
Tipton pleaded guilty in June to a charge of ongoing criminal conduct for a scheme involving seven lottery tickets in five states, according to court documents. He admitted to rigging computer codes to produce winning numbers -- netting Tipton and his accomplices millions of dollars.
Tipton has agreed to pay about $2.2 million in restitution, including $1.1 million to the Colorado lottery, $644,000 to the Oklahoma lottery, $391,000 to the Wisconsin lottery and $30,000 to the Kansas lottery.
Related: Powerball jackpot hits $700 million
When Judge Brad McCall asked him on Tuesday how he intended to repay the money, Tipton said, "Initially, I really don't know."
But the prosecutor, Assistant Attorney General Rob Sand, said he's planning to locate and seize "significant amounts of restitution" from Tipton and his co-conspirators, Tommy Tipton and Robert Rhodes.
"All three of these gentlemen have what ordinary people would call significant assets at their disposal," he said.
Neither Sand, nor Tipton's defense lawyer, expect him to serve his full sentence.
Tipton's lawyer said he expects his client will serve three to four years before being released.
"Mr. Tipton is pleased get this chapter behind him and to move on with his life," Dean Stowers said in an email to CNNMoney. He had asked the judge for a suspended sentence.
The prosecutor said Tipton will serve no more than five years, if he behaves and makes parole.
"When you're an insider who abuses your position of trust and privilege you should expect to see the inside of a jail cell," said Sand, at a post-sentencing interview with reporters. "We're glad that the court agreed and found it appropriate to send Mr. Tipton to prison."
Tipton was formerly a programmer with the Multistate Lottery Association, the agency that administers state lotteries. He designed and maintained software "for computerized random number generators used to select winning lottery numbers in many states across the country," according to the office of Iowa Attorney General Tom Miller.
Tipton, who lives in Texas, bought lottery tickets in various states, including Iowa, and selected numbers that he knew would win, because he designed the program that generated the winning numbers. Tipton then gave these tickets to third parties who agreed to cash them and split the money with him.
Related: Biggest lottery jackpots in U.S. history
One of these accomplices was his brother, Tommy, authorities said. The investigation against the Tipton brothers began in 2010, with a suspicious claim for a $14.3 million Hot Lotto jackpot in Iowa that lottery officials refused to pay. The Iowa Division of Criminal Investigation traced Tipton's scheme to other states as well.
Eddie Tipton made a deal with prosecutors in June, in which he pleaded guilty to the Iowa charge of ongoing criminal conduct. Prosecutors dropped a charge of money laundering. He will be allowed to serve the Iowa sentence concurrently with a sentence of up to five-and-a-half years in Wisconsin, where he pleaded guilty to theft by fraud and computer crime.
Iowa Assistant Attorney General Robert Sand said in a news conference after the sentencing that investigators were certain they had uncovered all Tipton's rigged jackpots. "The fact that he's going to spend years of his life in prison is appropriate," he said.
Tipton's brother Tommy, a former judge in Texas, is currently serving a 75-day sentence in Texas for a misdemeanor theft charge and deferred judgment on a felony charge of conspiracy to commit theft.
The Tiptons' friend Rhodes, who also lives in Texas, was the one who attempted to redeem the $14.3 million jackpot. He has pleaded guilty to fraud and will be sentenced on Friday.