ATLANTIC CITY, N.J. (CBS/AP) — A tearful former mayor of Atlantic City was sentenced Thursday to 30 days in prison and 11 months of house arrest for stealing $87,000 from a youth basketball program he founded.

Frank Gilliam, a Democrat, is the latest in a line of corrupt Atlantic City officials so long that it spawned a hit HBO TV series.

READ MORE: 'A Game Changer': CDC Recommends Johnson & Johnson's 1-Dose COVID Vaccine, Paving Way For Distribution To Begin

He could have been sentenced to nearly two years in federal prison following his October 2019 guilty plea to wire fraud.

“I stand before this court as a fractured human being, one seeking to do better,” a sobbing Gilliam told the judge over a video link. “It’s something I wish never happened. But it did. The mistake I made is not something I’m proud of.

“I’m ashamed, I’m embarrassed,” said Gilliam, 49. “I’ve hurt people who love me, I’ve hurt people who depended on me.”

Federal prosecutors sought a prison term of 15 to 21 months for Gilliam, who resigned as mayor on the day he pleaded guilty.

He acknowledged stealing $87,000 from a youth basketball program he had set up, using some of the money for personal items including expensive clothing, trips and meals.

Prosecutors said Gilliam solicited donations while a member of the City Council and then as mayor under the false pretense that they were for the youth basketball team or for school supplies for poor children.

U.S. District Court Judge Joseph Rodriguez noted that Gilliam committed a serious crime that needed to be punished. But he also took into effect evidence of Gilliam’s years of work with young people.

“This defendant stole more money than many U.S. residents earn in a year,” the judge said. “The defendant also took money from the very underprivileged children in Atlantic City that he tried to encourage and prepare for a better life.”

In a letter to the court in December, Gilliam himself asked to be sentenced to probation and 500 hours of community service.

The judge ordered that Gilliam carry out 200 hours of community service within three years.

READ MORE: Irv Cross, Former Eagles Star DB And Pioneer Black Analyst, Dies At 81

Assistant U.S. Attorney Sean Farrell objected to the sentence, saying it should have been more lengthy to deter others in a similar situation.

“He defrauded the community, and he did it on the backs of kids,” Farrell said.

Gilliam’s lawyer, Harry Rimm, said the former mayor has expressed remorse, is making restitution, and is the primary caregiver for his 4-year-old grandson. The lawyer also noted an early tragedy in Gilliam’s life when his father killed his mother when Gilliam was 3 years old.

Rimm stressed that Gilliam admitted to taking private money, not public funds. That sets him somewhat apart from a long line of his predecessors accused of corruption, dating back to the turn-of-the-century Atlantic City officials whose malfeasance was chronicled in the HBO series “Boardwalk Empire.”

“Mr. Gilliam’s community of supporters, represented by more than 200 letters to the Court from family; friends, teachers and professors from grade school, junior high school, high school and college; coaches, basketball players and their parents; mentees; members of the local clergy and even victims impacted by Mr. Gilliam’s actions, have recognized his sincere contrition and asked the Court for leniency at his sentencing,” Rimm said in a statement. “I have been both a federal prosecutor and a defense lawyer, and, in my 25 years practicing law, I have never handled a matter in which so many appeals for leniency were submitted to the Court on behalf of an individual like Mr. Gilliam. Clearly, Mr. Gilliam’s community believes that his one mistake should not outweigh all the good that he has done — and continues to do even during the pandemic — for his community.”

As recently as 2007, four of the city’s last eight mayors had been arrested on corruption charges and one-third of the nine-member City Council was either in prison or under house arrest.

Gilliam is ineligible to hold public office again. A date has not yet been set for him to report to prison.

(© Copyright 2021 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)

MORE ON CBSPHILLY.COM

Philadelphia Police Commissioner Won’t Resign Following Damning Report On City’s Handling Of Racial Injustice Protests

Garnet Valley School District Superintendent Demanding Action From State To Elevate Teachers On Vaccination List

MORE NEWS: COVID In Philadelphia: City Easing More Restrictions Monday On Road To Recovery

Jersey Devil Coaster, World’s Tallest, Longest & Fastest Single-Rail Roller Coaster, Set To Open At Six Flags Great Adventure