DETROIT - Mayor Kwame Kilpatrick pleaded guilty to a pair of felony charges on Thursday in a sex-and-misconduct scandal and will step down after months of defiantly holding onto his job leading the nation's 11th-largest city.

The plea deal brings to an end a seven-months-long ordeal that led to felony charges against Kilpatrick and plunged the city, region and state into political chaos.

As part of the deal, the 38-year-old Democrat is to serve four months in jail and five years of probation. He also would pay $1 million in restitution over the five-year probationary period.

The married mayor and former top aide Christine Beatty were charged in March with perjury, misconduct and obstruction of justice. They're accused of lying under oath about an affair and their roles in the firing of a deputy police chief.

Beatty did not plead guilty and next will appear in court on Sept. 11.

City Council President Ken Cockrel Jr. will succeed Kilpatrick as mayor until a special election is held.

Until now, Kilpatrick had refused to resign even as the calls for him to step down grew louder and the controversy overshadowed all else at City Hall, tarnishing the national image of the much-maligned city even more.

Online Public Information File

Viewers with disabilities can get assistance accessing this station's FCC Public Inspection File by contacting the station with the information listed below. Questions or concerns relating to the accessibility of the FCC's online public file system should be directed to the FCC at 888-225-5322, 888-835-5322 (TTY), or fccinfo@fcc.gov.