WALNUT CREEK — A judge Wednesday ordered Oakland Raiders kicker Sebastian Janikowski to anger management and substance abuse classes over allegations he shoved a woman at a nightclub in 2010.

Janikowski did not appear in Walnut Creek Superior Court, and his attorney would not comment.

Prosecutors agreed to drop one misdemeanor count of false imprisonment to facilitate Janikowski’s referral to a pretrial diversion program. If he follows the program’s rules and avoids further arrest for 12 months, the remaining misdemeanor battery charge will also be dropped.

Janikowski, 33, must perform 30 hours each of anger management and substance abuse classes, as well as 30 hours of community service. He must also stay away from Syrena Nicholson, who authorities say he grabbed and shoved at a September 2010 rap show at a Walnut Creek nightclub.

“He shut the walk-in door and started yelling at me that I had been taking pictures of him at the show,” Nicholson told this newspaper last year. “I had never seen him before in my life. I kind of know who he is now, but I don’t keep track of sports.”

Nicholson, backstage after the performance, tried to leave, but the 6-foot-2, 250-pound Janikowski blocked her path until others broke it up, she claimed.

And in May 2011, the Contra Costa County District Attorney’s Office filed misdemeanor charges of battery and false imprisonment against Janikowski. If convicted of both charges, he could have faced as many as 18 months in jail and a $3,000 fine.

Janikowski was the Raiders’ first-round pick in 2000, only the third kicker ever chosen in the opening round. He tied the NFL record for the longest field goal when he made a 63-yarder against the Denver Broncos in the first game of the 2011 season.

The Pro Bowl kicker’s prior run-ins with the law cover barroom fights while at Florida State and an arrest — and eventual acquittal — after he was suspected of possessing the date-rape drug GHB in 2000, just before his rookie season with the Raiders. Locally, he pleaded no contest to a DUI charge in 2002 near Oakland and avoided prosecution in connection with a 2003 fight outside a Walnut Creek restaurant because of a lack of evidence.

Robert Salonga covers crime and public safety for the Bay Area News Group and is based at The Mercury News. A San Jose native, he has a bachelor's degree from UCLA and a Master's degree in journalism from the University of Maryland-College Park, but remains a Bruin at heart. His prior reporting stops include Washington, D.C. and Salinas. He is also a middling triathlete whose sole race goal is to be upright at the end. Contact Robert at 408-920-5002.

A transit village with apartments, retailers, restaurants and a hotel is rising in Milpitas next to The Great Mall, close to light rail and the under-construction BART station. It’s one of several Silicon Valley projects sprouting up near transit.