By SUSAN SAULNY
DETROIT — Kwame M. Kilpatrick, the charismatic mayor of Detroit who has been embroiled in legal problems stemming from a sex scandal since the beginning of the year, pleaded guilty to obstruction of justice and agreed to resign Thursday morning as part of a deal with prosecutors.
He agreed to plead guilty to two felony counts of obstruction of justice, pay restitution to the city of $1 million, give up his law license, forfeit his state pension and serve 120 days in the Wayne County jail. His resignation is to take effect within 14 days. All other charges were dismissed, and the judge scheduled sentencing for Oct. 28.
Judge Groner asked Mr. Kilpatrick, “Is this something you are ready to do today?” He added, “Do you have any questions?”“I have no questions about what’s going on today,” Mr. Kilpatrick told Judge Groner. Later, he said, “I lied under oath.”
As he answered questions from the judge in the case, however, he smiled occasionally and joked.
The president of the Detroit City Council president, Kenneth V. Cockrel Jr., will take over as mayor. Mr. Cockrel’s late father was a prominent political figure in Detroit, and his stepmother, Sheila M. Cockrel, is also a member of the council.
The affair became public anyway, when The Detroit Free Press published steamy text messages sent from a city-owned pager that detailed much of the romance between Mr. Kilpatrick and the aide, Christine Beatty, his chief of staff. The messages and the affair contradicted testimony that both Mr. Kilpatrick and Ms. Beatty had given under oath last year.