Beltran pleaded guilty on Tuesday just as his preliminary hearing was getting underway.
The 61-year-old taught English as a second language at Lincoln Middle School in Santa Monica.
He'll be required to register as a sex offender after serving his sentence.
- Get more local news headlines from Los Angeles
- Have a news tip? Send your tips, video, or pictures