ALBUQUERQUE, N.M. – Albuquerque Public Schools hired an accused child sex predator as its second-in-command.

For about two months Timothy Martinez, 50, worked as deputy superintendent in the district and collected his $163,000-per-year salary before abruptly resigning Aug. 20 for personal reasons.

MORE NEWS: Know These Before Moving From Cyprus To The UK

Those personal reasons included his pending criminal charges in Denver, Colorado for allegedly molesting young boys during and after his tenure as a top level administrator in Denver Public Schools, Fox News reports.

Martinez resigned from DPS shortly before the charges were filed.

New Mexico Attorney General Hector Balderas said his office will investigate how and why the state’s largest school district hired Martinez before performing a full criminal background check. Denver police officials told the media Martinez is in the national criminal database.

“There is simply no explanation for exposing any of our children to an individual who has any violent or sexual criminal charges in his background,” Balderas said.

Martinez was arrested in Denver Wednesday morning by the Rocky Mountain Safe Streets Task Force, and is currently in the Denver Detention Center, according to the news site.

The Albuquerque Journal reports Martinez faces two felony criminal cases in Colorado, one involving four counts of child sexual assault, the other involving a domestic altercation with his boyfriend.

MORE NEWS: How to prepare for face-to-face classes

Martinez was released on a $50,000 bond in each of the cases and ordered not to leave Colorado.

He previously worked as the deputy of operations in elementary education for Denver Public Schools between July 1, 2002 and Jan. 3, 2012. He was charged in 2013 with what investigators called a “pattern of sexual abuse” involving a boy under 15 years old between May 1, 2012 and June 27, 2013. That case was later amended to include alleged abuse dating back to 2010, when he worked at DPS. The victims in the case were 8 and 13 at the time.

“Denver police say Martinez is also accused of attacking his 26-year-old boyfriend and hitting another man with his car in a jealous rage,” Fox News reports.

Martinez worked for an education publisher after resigning his DPS post in 2012. He was hired on at Albuquerque Public Schools in June by Superintendent Luis Valentino, who denies any knowledge of Martinez’s lurid background.

“Valentino, who said he met Martinez at a Latino educators conference, has said he was unaware of the charges and would not have hired him had he known,” according to the Journal.

Valentino took over APS this year.

The school board scheduled an emergency meeting today to discuss the case. The district’s interim associate superintendent for human resources, Karen Rudys, reportedly confronted Valentino five times over Martinez’s repeated lack of cooperation with a required criminal background check, Fox News reports.

Meanwhile, Martinez is held without bond awaiting a scheduled jury trial on the child sex abuse charges Oct. 9.

He could face more than 20 years in prison if convicted.