A Texas Rangers pitcher accused of tossing a chair at an Oakland Athletics fan last year was sentenced to a work program and anger management classes Thursday, ending a case that sparked a national debate on violence between fans and professional athletes. Frank Francisco, 25, pleaded no contest to misdemeanor assault, Alameda County deputy district attorney Erin Kingsbury said. Superior Court Judge Michael Gaffey sentenced Francisco to almost 30 days in jail which can be served in a work detail. Francisco received 10 days off for good behavior. Gaffey also ordered that Francisco attend 26 anger management cases, one class a week for six months, according to prosecutors. "I think the judge gave this a lot of consideration. This was a thoughtful sentence," Kingsbury said. "The judge used all the information he was given to come up with this."