San Francisco 49ers linebacker Aldon Smith settled one of two legal cases he was facing, pleading no contest Wednesday to three felony charges of possession of illegal assault rifles as well as a misdemeanor charge of driving under the influence.

Sentencing will be handed down in Santa Clara County (Calif.) Superior Court on July 25 -- two days ahead of the start of the 49ers' training camp in Santa Clara. According to the San Jose (Calif.) Mercury News, the sentence could range from probation to four years and four months in jail.

"We are aware that Aldon entered a plea today in a case that we have closely monitored," 49ers general manager Trent Baalke wrote in a statement. "Today was an important step towards bringing that situation to a resolution. Any further questions concerning today's hearing should be directed to his attorney."

Still pending is a potential misdemeanor charge of making a false bomb threat at Los Angeles International Airport in April. Prosecutors have yet to file a formal charge stemming from the incident, in which Smith was arrested, but Smith denies the allegation.

The NFL also could hand Smith a suspension for part or all of the upcoming season.

The weapons charges dated to an incident at Smith's San Jose home during a June 2012 party. Smith sustained stab wounds at the party, and two partygoers were wounded by gunfire from alleged gang members. Police found the illegal weapons at that time.

According to police, Smith smashed his pickup truck into a tree in San Jose on Sept. 20, 2013. He was arrested and charged with DUI, yet he played for the 49ers two days later, making six tackles in San Francisco's 27-7 loss to the Indianapolis Colts.

Smith subsequently left the team and missed the next five games while seeking treatment for alcohol abuse.

Despite Smith's run-ins with the law, in early May, the 49ers picked up a one-year option to retain the linebacker through the 2015 season.