A former California attorney and church leader was sentenced to 40 years in prison after pleading guilty to molesting young girls.