Former Detroit Mayor Kwame Kilpatrick is placed in handcuffs at his sentencing hearing in Detroit, Tuesday, May 25, 2010.

*Former Detroit Mayor Kwame Kilpatrick was sentenced to up to five years in prison today for violating the terms of his probation stemming from his conviction for lying under oath about an affair with his chief of staff.

Kilpatrick, 39, begged for compassion from Judge David Groner during the hearing, but Groner said “that ship has sailed.”

At issue is $1 million Kilpatrick was ordered to pay the city after pleading guilty in 2008 to obstruction of justice. Groner ruled last month that Kilpatrick failed to report all of his assets and meet other conditions of his probation.

On Tuesday, he ordered Kilpatrick to serve at least one-and-a-half years in prison, but credited him with 120 days of time served from his original sentence, reports the Associated Press. Kilpatrick is still obligated to pay back the remaining balance of his debt to the city, but to do that he’ll have to find a new job after he’s freed. Shortly after the sentencing, Compuware Corp. said that Kilpatrick was fired from his job as a medical software salesman for its Dallas-based subsidiary, Covisint.

Groner chastised Kilpatrick for his lack of candor about his finances.

“Your continued attempt to cast yourself as the victim, your lack of forthrightness, your lack of contriteness and lack of humility … clearly rehabilitation has failed,” Groner told Kilpatrick.

While pleading for mercy, Kilpatrick listed the reasons he felt he should be allowed to return to his family in Dallas.

“I want to go home your honor, where I belong,” Kilpatrick told Groner. “I’m not here because of a gun charge, or a drug charge. I’m here because of my confusion over some of the written orders that have been before me.”

Groner listened to Kilpatrick’s statement Tuesday, but appeared unmoved.

“This lack of candor while under oath dangerously approaches the very crime you were under sentence for,” Groner said.

Defense attorney Michael Alan Schwartz said he was “deeply disappointed” by the sentence and expressed uncertainty about how the city will receive the remaining $860,000 in restitution. He said Kilpatrick was penalized for not being contrite. He didn’t wear “sackcloth and ashes,” he said.

Kilpatrick has 42 days in which to file an appeal.