DETROIT, Michigan (CNN) - Embattled Detroit Mayor Kwame Kilpatrick pleaded guilty Thursday to charges resulting from a sex scandal and is to resign from office, a prosecutor said.
The resignation won't take effect for 14 days, Wayne County Prosecutor Kym Worthy said outside the courthouse.
Kilpatrick will go to jail on October 28, the day of his sentencing, and serve 120 days, she said.
The mayor pleaded guilty in Wayne County Circuit Court to two counts of obstruction of justice.
"I lied under oath in the case of Gary Brown and Harold Nelthrope versus the city of Detroit," Kilpatrick said, reading from a prepared statement.
"I did so with the intent to mislead the court and jury and to impede and obstruct the fair administration of justice."
Circuit Judge David Groner accepted a no-contest plea on an assault charge.