A former state trooper and the first supervisor to be sentenced in the state police overtime scandal both were sentenced today to one day in prison, which was deemed served, and ordered to pay restitution.

Former Lt. David Wilson was also sentenced to six months of home detention and must pay $12,450, while former Trooper Heath McAuliffe additionally was sentenced to one year of supervised release and must pay $7,860.

“There is no excuse or explanation,” McAuliffe told Judge Denise Casper in U.S. District Court in Boston. “My actions were immoral, illegal and I blame nobody but myself.”

McAuliffe, 41, of Hopkinton and Wilson, 58, of Charlton, each pleaded guilty previously to one count of embezzlement from an agency receiving federal funds.

In all, 10 troopers were charged in state and federal court with making bogus citations and payroll records while they skipped overtime shifts.