A Santa Rosa man who molested a boy last summer will be sentenced to 20 years in prison, prosecutors said.

Adam Santana, 22, pleaded no contest Friday to two counts of forcible molestation of a child under 14 in an agreement carrying the punishment, prosecutors said.

Santana was described as a family friend of the boy and lived in the same home when the acts occurred, prosecutors said.

He was arrested after the boy disclosed the molestation, prosecutors said.

Santana will be sentenced July 12 by Judge Jamie Thistlethwaite.