A 31-year-old former Torrance YMCA employee accused of sexually molesting two young girls was sentenced to 10 years in prison Thursday, prosecutors said.

Matthew Aidan Pooley of San Pedro also was ordered to register as a sex offender following his no-contest plea to two counts of lewd acts with a child.

Earlier this year, a 4-year-old girl revealed that Pooley touched her private area while swimming at the Sepulveda Boulevard facility, where he worked as a .youth fitness instructor. During an investigation into the crime, Torrance police discovered Pooley had engaged in sexual relations with a 7-year-old relative at a Kern County home in 2002.

Pooley was arrested July 30 by Torrance police. Judge Mark Arnold imposed the sentence in Torrance Superior Court.

YMCA officials said Pooley was in charge of the rock climbing wall and that the swimming incident occurred while he was using the pool as a member.

— Larry Altman