SAN JOSE, Calif. — A judge has sentenced San Francisco 49ers linebacker Aldon Smith to three years of probation and to spend 11 days with a work crew after he pleaded no contest to drunken driving and assault-weapons charges.

The sentence came Friday after the Santa Clara County Superior County judge reduced the weapons charges to misdemeanours, noting that the football star has no criminal record involving violence.

Smith was also told to serve 235 hours of community service and pay nearly $4,000 in fines.

Prosecutors say Smith didn’t receive special treatment in the case.

The weapons charges stem from a 2012 party at his home where several shots were fired. Investigators later found unregistered weapons in Smith’s house.

The 49ers say they continue to support Smith’s efforts to grow personally from this experience.