DES MOINES, Iowa — A former lottery security official was sentenced to 10 years in prison Wednesday for rigging a computerized Hot Lotto game in 2010 in an attempt to win a $14 million jackpot in Iowa.

Eddie Tipton never got any of the money, but a jury convicted him in July on two counts of fraud. The 52-year-old also was accused of trying to get acquaintances to cash the prize for him without revealing his identity.

Prosecutors said Tipton inserted a stealth program into the computer that randomly picked the numbers, then deleted it so it could not be detected.

During Wednesday’s sentencing hearing, Judge Jeffrey Farrell told Tipton his violation of trust was the biggest factor in him receiving the maximum sentence on each count. Tipton is appealing and remains free on bond.

Tipton, of Norwalk, had been working for the Des Moines-based Multi-State Lottery Association since 2003 and was promoted to information security director in 2013. The nonprofit association is operated by 37 mostly state-run lotteries to oversee picking numbers for various games and other lottery game administrative functions.

As an employee, Tipton was prohibited from playing the lottery in Iowa. He was fired after his January arrest.

Surveillance video from a Des Moines convenience store shows a hooded man buying the winning Hot Lotto ticket in December 2010. The video is fuzzy and the face of the man isn’t clear. Several of Tipton’s former coworkers and friends testified at trial that the man in the video was Tipton. His sister and two brothers testified it wasn’t him.