Anderson accepts 10 days in jail, bar resignation