The Houston Astros won their first World Series title by beating the Los Angeles Dodgers 5-1 in the decisive seventh game.