The Dodgers trailed 5-0 after three innings and by one run again in the sixth, but poor defense by the Yankees helped them rally for a 7-6 victory in Game 5, securing their second championship in the past five years and eighth overall.