of the Memphis Grizzlies against the Golden State Warriors during Game six of the Western Conference Semifinals of the 2015 NBA Playoffs at FedExForum on May 15, 2015 in Memphis, Tennessee. NOTE TO USER: User expressly acknowledges and agrees that, by downloading and or using this photograph, User is consenting to the terms and conditions of the Getty Images License Agreement

After being arrested last month and facing felony drug charges, Sacramento Kings’ forward Zach Randolph has accepted a plea deal that will keep him out of jail, according to TMZ Sports.

The charges had been reduced to misdemeanor possession of more than an ounce of weed and resisting arrest, which meant Randolph could have gone to jail for up to a year. Instead, Randolph must complete 150 hours of community service and avoid drug dealers for the next 12 months. Then he can have the resisting-arrest charge removed from his record.

From TMZ Sports:

Randolph was sentenced to 150 hours of community service as part of a diversion program, which means if he completes the hours and keeps his nose clean for 12 months, the resisting arrest conviction will be wiped from his record.

One more thing … Randolph was specifically told he may not associate himself with or be around drug dealers as part of the terms of the deal.

The case is due back in court for a progress report in December.

So Randolph will get to play his 17th season in the NBA unobstructed. After making a pair of All-Star games during eight seasons with the Grizzlies, he left Memphis this offseason to sign a two-year $24 million deal with the Kings. But Stephen A. Smith may still be unhappy that Randolph “could not stay off THE WEED!”

[TMZ]

About Jesse Kramer

Jesse is a writer and editor for The Comeback. He has also worked for SI.com and runs The Catch and Shoot, a college basketball website based in Chicago. He is a graduate of the Medill School of Journalism at Northwestern University. Follow Jesse on Twitter @Jesse_Kramer.