HOUSTON (CBSDFW/AP) – A Houston-area Roman Catholic priest pleaded guilty on Tuesday to indecency with a child related to molestations that took place at his church more than 20 years ago.

Manuel La Rosa-Lopez was facing five charges of indecency with a child. But as part of an agreement with the Montgomery County District Attorney’s Office, La Rosa-Lopez agreed to plead guilty to two of the counts in exchange for a 10-year sentence, said Nancy Hebert, one of the prosecutors in the case.

READ MORE: North Texas Hospitals In 'Wait And See' Mode Regarding COVID-19 Omicron Variant

The three other counts, some which relate to a third victim, were dropped as part of the agreement. La Rosa-Lopez was set to go to trial in January. If a jury convicted him, he could have received an up to 20 year sentence.

The two counts La Rosa-Lopez pleaded guilty to arise from allegations made against him while he was a priest at Sacred Heart Catholic Church in Conroe, located just north of Houston.

In one case, La Rosa-Lopez in April 2000 brought a teenage girl to his office after confession, kissed her and then groped her days later, according to authorities. In the other case, a teenage boy told authorities La Rosa-Lopez tried to take the boy’s clothes off and put his hands down the victim’s pants in 1999.

“A wrong was committed, and it had to be made right,” said Montgomery County District Attorney Brett Ligon. “We hope that with time the wounds this man so selfishly created will heal and that even the scars will fade. (La-Rosa Lopez) despised everything we hold dear. He can now consider all the harm he’s caused from a prison cell.”

La Rosa-Lopez, who is free on bond, will be formally sentenced during a court hearing on Dec. 16. His attorney, Wendell Odom, said it wasn’t any easy decision for his client to make, “but after much consultation, he decided to plead guilty.”

READ MORE: Cowboys Prepare For Thursday Night Game Missing 9 Players And Coaches Due To COVID-19

“This is unfortunate. It happened many years ago and he’s just happy to have closure and get this over with,” Odom said.

The 62-year-old La Rosa-Lopez was the pastor at St. John Fisher Catholic Church in the Houston suburb of Richmond when he was arrested in 2018. He is no longer a pastor and was removed from ministry, but he remains a priest.

The Archdiocese of Galveston-Houston declined to comment Tuesday on La Rosa-Lopez’s guilty plea or whether he will remain a priest.

Following La Rosa-Lopez’s arrest, a third person came forward to authorities to accuse him of sexually touching him when he was a teenager.

All three individuals who accused La Rosa-Lopez have said that they had discussed their cases with church officials but felt their accusations were not taken seriously.

MORE NEWS: 2 Former North Texas Teachers Arrested, Accused Of Abusing Non-Verbal Children At Elementary School

Hebert said the plea agreement “brings resolution to this case that’s taken the victims 20 years to get here.”