LOS ANGELES, Calif.–Former Los Angeles Lakers forward Matt Barnes pleaded no contest today to misdemeanor unlicensed driver and resisting arrest charges.

The 32-year-old basketball player–who has signed with the Clippers–was immediately sentenced to two years probation, ordered to complete 30 hours of community service and attend anger management classes for three months, according to the District Attorney’s Office.

Barnes was arrested July 30 after a run-in with a Manhattan Beach police officer who was aware that he had an outstanding warrant for a misdemeanor traffic offense, authorities said.