LOS ANGELES (AP) — The Game has been sentenced to 120 hours of community service for assaulting an off-duty policeman during a pick-up basketball game in Hollywood.

The 37-year-old rapper, whose real name is Jayceon Taylor, also received a six-month suspended jail term Monday and was ordered to attend anger management counseling.

READ MORE: Driver Wanted After Hitting, Then Dropping Pedestrian From Car During LAPD Car Chase

He may have to do the time if he gets into any more trouble.

Prosecutors say during a game in 2015, Taylor threatened, intentionally fouled and sucker-punched the officer, who’d stolen the ball from him and made a basket.

READ MORE: Newsom, Calif. Lawmakers Reach Deal To Reopen Schools By End Of March

Taylor also pleaded no contest to stealing a camera from a paparazzi who filmed him being served with legal papers after the officer sued him.

Taylor pleaded no contest to felony grand theft and misdemeanor counts of making criminal threats and battery.

MORE NEWS: LAUSD Opens COVID Vaccine Site At SoFI Stadium Monday For Education Staff Only

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)