Updated

A former D.C. Council chairman who violated campaign finance laws avoided most of his possible jail time but will have to spend hundreds of hours doing community service and stay out of trouble.

Superior Court Judge Juliet McKenna on Tuesday sentenced 42-year-old Kwame Brown to 30 days in jail, all suspended. That means Brown will stay out of jail on the misdemeanor campaign violation if he complies with the terms of probation.

Earlier in the day, Brown was sentenced in federal court to one day in custody and six months of home detention for lying on loan applications. He will also spend two years on supervised release and be required to do 480 hours of community service.

Brown admitted to both crimes in June. He gave up council role as part of a plea deal.