The 24-year-old Smith entered his pleas in a Santa Clara County Superior Courtroom in San Jose. He faces a sentence ranging from spending no time in custody to a maximum of four years and four months behind bars at a judge's discretion, prosecutors said.

Smith is scheduled to be sentenced on July 25 — two days after the 49ers are to open training camp.

In November, Smith pleaded not guilty to three felony counts of illegal possession of an assault weapon after deputies said they found three assault rifles while responding to a complaint about a party in June 2012 at Smith's home. During the party, Smith fired a handgun in the air and was stabbed as two other people were shot during a melee, authorities said.

The DUI charges were filed after Smith's car smashed into a tree in San Jose in September as police said his blood-alcohol level was twice the legal limit.

“We are aware that Aldon entered a plea today in a case that we have closely monitored,” 49ers General Manager Trent Baalke said in a statement Wednesday. “Today was an important step towards bringing that situation to a resolution.”

Smith's lawyer, Joshua M. Bentley, released a statement, saying his client “has never wavered from his commitment to do the right thing in this case.”

A group of former NFL players filed a class-action lawsuit Tuesday alleging the league routinely and illegally provided them with prescription pills and various painkillers, putting their health at risk, in order to keep them on the field.

There were 26 pitchers in baseball's 300-save club before Wednesday, an elite group headed by a right-hander who had the game's most devastating cut fastball (Mariano Rivera), another who had one of baseball's best changeups (Trevor Hoffman), and a left-hander who threw 98 mph (Billy Wagner).

A 5-2 win over Minnesota on Wednesday night proved costly for the Angels, who lost David Freese to a fractured right index finger, an injury that will sideline the third baseman for several weeks, and center fielder Daniel Robertson to right shoulder stiffness, an injury that is not serious.