He was arrested in September.
Wizards of Waverly Place star David Henrie was arrested two months ago for bringing a gun to the airport.
After the arrest, he took to social media to say he was “humiliated” and “embarrassed,” and now he has finally been sentenced for the incident.
The child star avoided a year in prison by accepting a plea deal for the ordeal.
According to TMZ, he pled no contest and the LA City Attorney dropped the added charges for carrying a loaded firearm and carrying a concealed firearm.
He was sentenced to two years probation, 20 days of community service, and he will have to pay fines as well as take part in a gun safety course.
After the incident in September, he said: “I take responsibility for the situation at LAX today.
“More than anything I am humiliated and embarrassed that this even happened. But am thankful to the TSA, LAPD and all involved today for their kindness and their professionalism during this process.”