With Lisa now facing a long jail sentence, her mother decides to help her out. Marge begins reading Charles Darwin's "On the Origin of Species", which is incorrectly called "The Origin of Species", and becomes addicted to it. When the trial resumes, Marge tells Lisa that she now knows a way that she can help her. While Ned is being cross-examined by Drummond, she gives Homer a beer. Homer, ecstatic at getting the beer, tries to open it unsuccessfully. The more he tries, the more primitive he gets, hooting and banging the beer on the bench, disrupting the trial. Ned loses his temper and tells Homer to stop behaving like a monkey. Drummond then asks Ned to compare the picture of the "missing link" and Homer shaking the beer over his head, and asks if he truly believes Homer cannot be related to apes. Ned cannot and concedes victory to Lisa. After the trial, Lisa goes up to Ned and tells him that while she fully respects his religious beliefs, she just does not think it is proper for the church to dominate the school in the same way that he and Reverend Lovejoy do not want scientists taking over the church. Ned finally agrees with this, so he offers to take Lisa and his sons out for ice cream.