Drake Bell was released from prison early after being locked up for DUI.

Bell was sentenced 96 hours in jail and was placed on four years probation for his second DUI conviction. The former Nickelodeon star was put behind bars on Friday, Sept. 2, but he only served less than 48 hours for good behavior, law enforcement officials told TMZ.

Sources told the website that Bell was given his freedom on Saturday at around 6 p.m.

Bell’s jail term was part of a plea deal he took after being arrested for DUI in December last year.

According to the Los Angeles Times, Bell was pulled over on Dec. 21, 2015 at 2:20 a.m. by Glendale police for straddling a lane, traveling at a dangerous speed and suddenly stopping at a red light. It was also claimed that Bell had been driving at 55 kilometer an hour in a 35 zone.

Glendale Police spokeswoman Tahnee Lightfoot told People at the time that cops “smelled an odor of alcohol” coming from Bell’s car, so they administered a sobriety test on him, which the actor “did not satisfactorily complete.” Bell was then arrested and later released with a citation after posting $20,000 in bail.

The “Ultimate Spider-Man” voice actor was first convicted for a DUI arrest in San Diego, Calif., in 2010, and according to California state law, a second DUI conviction within a 10-year time period mandates a minimum sentence of four days in county jail.

Bell has not directly addressed his recent conviction yet, but just hours after TMZ broke the news of his sentence on Saturday, he shared an Instagram photo of himself making a funny face inside a car.

Meanwhile, it was announced earlier this month that Bell would headline the 2016 High School Nation tour scheduled to start on Sept. 26. On Saturday, Bell expressed his excitement over the forthcoming tour, tweeting:  “Excited to go on the road again with @HSNTours! Looking forward to meeting you all!”