A Florida judge has wiped the record of a 21-year-old man who spent 10 days in jail after skipping jury duty.

Deandre Somerville was initially sentenced to jail time plus 150 hours of community service after he overslept his commitments to serve on a jury in Palm Beach County.

But the same judge who handed Somerville the punishment reduced the sentence Monday after the case was appealed.

“I know he now understands and respects our system of justice and the critical role jurors play in that system,” Palm Beach County Circuit Judge John Kastrenakes wrote. “In conclusion, I do not want even a finding of contempt to be gleaned from a perusal of his background or record.”

Somerville had apologized Friday, calling his own decision “immature” in a letter he read to the court, according to news station WPTV.

“As a result of my irresponsible actions, my life has been forever changed,” he said. “Everything I’ve gone through, I wouldn’t wish on my worst enemy.”

Somerville, who had no prior criminal record, takes care of his grandfather and works at an after-school program for the West Palm Beach Parks and Recreation Department.

He said he missed his alarm on Aug. 21 when he was scheduled for jury duty, then never followed up with the court’s bailiff.

But while he was playing basketball, a police officer arrived at his door with a court summons.

“Before my hearing, I walked into the courtroom a free man with no criminal record. I left a criminal in handcuffs,” Somerville said.

Kastrenakes said he found Somerville’s letter “moving, sincere and heartfelt.”

“I know that he has been totally rehabilitated,” the judge wrote in his ruling.

With Post wires