SANTA ANA (CBSLA.com) — A youth pastor pleaded guilty today and was immediately sentenced to six years in prison for sexually assaulting two underage boys at church events in Aliso Viejo.

Brandon Ernis Lee McDade of Mission Viejo, 31, pleaded guilty to a count of committing lewd acts on a child younger than 14, two counts of committing lewd acts on a child between 14 and 15, all felonies, and a misdemeanor count of child annoyance, according to the Orange County District Attorney’s Office.

READ MORE: Man Climbs Downtown Transmission Tower Prompting Train Closures On West Side Of LA River

McDade was also ordered to register as a sex offender for the rest of his life.

READ MORE: Hedman, Kucherov Propel Streaking Lightning Past Kings 6-4

McDade was a youth pastor at Grace Hills Church in Aliso Viejo when he met the victims, prosecutors said.

The molesting happened on church grounds and with one of the victims at a movie theater in Orange County, prosecutors said.

MORE NEWS: Suspect Identified As Shawn Laval Smith In Murder Of Brianna Kupfer, Hancock Park Furniture Store Employee Found Stabbed

(©2017 CBS Local Media, a division of CBS Radio Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Wire services contributed to this report.)