The 49ers activated linebacker Aldon Smith from the non-football-injury list Thursday, a little more than five weeks after he enrolled in a substance-abuse program.
Smith last played in a game Sept. 22, which came two days after he crashed his pickup truck into a tree and was arrested on suspicion of driving under the influence and marijuana possession.
The 49ers were required to activate Smith upon his discharge from an inpatient rehab facility, a league spokesman told CSNBayArea.com, for Smith to be eligible to play again this season.
On Tuesday, Smith turned himself in to authorities on felony weapons charges as part of an agreement he made with the Santa Clara District Attorney after Smith was charged Oct. 9 with possessing illegal assault weapons.
Smith was released on bail later Tuesday night. He is scheduled to appear in court Nov. 12 to face the weapons charges. A week later, he is expected in court to face misdemeanor DUI and drug charges.
The 49ers came under fire for allowing Smith to practice the same day he got arrested and then to play in a game two days later.
Smith and CEO Jed York addressed the media after the 49ers lost to the Colts on Sept. 22, with Smith apologizing for the actions that led to his arrest and York defending the team's decision to let Smith play.
"I will stand here, and I will take any shots that anybody wants to write (about) the organization," York said at the time.
He said the 49ers acted in a manner that was in the best interests of Smith.
Smith has the better part of 10 days to get ready for the 49ers next game, Nov. 10 against the Carolina Panthers. The 49ers are off through Sunday because of the bye week. Smith presumably will be at practice Monday.
The 49ers announced the transaction, but they didn't issue a statement on the matter.
The 49ers had an open spot on their 53-man roster as a result of their waiving wide receiver Marlon Moore on Wednesday.
Follow Steve Corkran on Twitter at twitter.com/CorkOnTheNFL.
NOV. 10 GAME
Carolina (4-3) at 49ers (6-2),
1:05 p.m. FOX