ST. PAUL, Minn. (AP) — A former assistant principal at Bemidji Middle School has pleaded guilty to producing child pornography.

Thirty-five-year-old Brandon Mark Bjerknes of Bemidji also admitted Thursday in U.S. District Court to a second count of coercion and enticement of a minor.

READ MORE: Minneapolis School Damaged During Unrest Reopens Doors After 18 Months

Prosecutors say that while assistant principal, Bjerknes posed as a teenage boy and used social media to contact girls and boys in middle and high school and direct them to send him explicit photos. He also engaged in sexually explicit conversations.

Brandon Bjerkness (credit: Beltrami County Jail)

READ MORE: State Will Offer Gift Cards, Scholarship Drawings As Vaccination Incentives For Kids

Authorities say Bjerknes contacted more than 50 victims; some were students Bemidji Middle School.

Bjerknes was assistant principal there for three years before resigning in April.

His attorney, Peter Wold, says his client took full responsibility and is getting psychological help. Wold says Bjerknes faces at least 15 years in prison.

MORE NEWS: 3 Hospitalized After Crash Involving Ambulance In Central Minnesota

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)