A prosecutor has recommended a sentencing alternative for Jesus Torres-Almeida that would include the time he's served in jail and treatment if he's amenable.

WALLA WALLA -- A man pleaded guilty Monday afternoon to having sexual intercourse with two underage girls he befriended in the late spring or the summer of 2010.

Jesus Torres-Almeida, 22, entered the guilty pleas in Superior Court to second-degree rape of a child and third-degree rape of a child.

Officials said the victims were 13 and 15 years old, respectively, at the time the crimes occurred.

Torres-Almeida faces a standard-range prison term of at least 81/2 to 111/3 years when he's sentenced after a presentence investigation is completed. But in a plea agreement, Deputy Prosecuting Attorney Michelle Mulhern is recommending a special sex-offender sentencing alternative for Torres-Almeida if an examiner determines he's amenable to treatment and doesn't pose a significant risk to the community.

Under the alternative, Torres-Almeida would face up to a year in the County Jail followed by a requirement to undergo outpatient treatment. Mulhern is recommending a time-served sentence if the alternative is imposed. Torres-Almeida has been incarcerated since July 14 of last year.

In addition, Mulhern agreed to drop six counts of possessing child pornography and three counts of sexual exploitation of a minor in exchange for his guilty pleas to the child-rape charges.

During the course of that investigation, officials reportedly learned his cellphone contained pictures of nude girls. The phone was confiscated and a search warrant was obtained.

At least six pictures -- depicting three girls believed to be younger than 18 -- were found in the phone, in addition to text messages showing communications between him and young females in which he asked them to send nude pictures of themselves, according to a police report filed in court.

Also, Torres-Almeida admitted to police he had sex with the 13-year-old girl on more than 20 occasions during the summer of 2010. The girl corroborated Torres-Almeida's story and said she broke off the relationship when she found out how old he was, the police report says.

Officials also became aware of the other victim, who was 15 years old.