In a case where the defendant was convicted of the forcible rape and digital penetration of his 17-year-old niece, the trial court abused its discretion in failing to conduct a hearing under section 782 and in excluding evidence that the defendant threatened to disclose his niece was having an affair with the boyfriend of her mother, giving his niece a strong motive to falsely accuse him of rape. The Court therefore reversed the convictions.