Rocha was indicted last September on four counts of sexual abuse of a child under 12 after the girl’s family came forward.

Authorities said that the plea deal was approved with the agreement of the child’s parents, who hoped to avoid a lengthy trial. The parents said that they wanted to avoid further trauma to their little girl, now 11.

“They were concerned about the stress the case would put on their child,” Franklin County District Attorney Joey Rushing said. “But they were ready to go forward if (Rocha) had not entered the guilty plea.”

Rocha will serve five years in prison, then be deported, prosecutors said.