Anthony Rizzo hit a tie-breaking home run in the sixth inning, and the Cubs beat the St. Louis Cardinals, 6-4, in Chicago on Tuesday to win the National League Division Series and advance to their first National League Championship Series since 2003.

Down 4-2 in the sixth, St. Louis rallied to tie the game with two runs off Cubs reliever Trevor Cahill, but Rizzo untied the score with a two-out, solo homer off Cardinals’ reliever Kevin Siegrist in the bottom of the inning.

Kyle Schwarber added a monster home run off Siegrist in the seventh inning as insurance for Chicago.

Cahill got the win for the Cubs, while Hector Rondon notched the save. Siegrist took the loss for St. Louis.

Javier Baez’s three-run home run off Cardinals starter John Lackey in the second inning erased a 2-0 Chicago deficit formed when Stephen Piscotty hit his third homer of the series, a two-run shot, in the first inning for St. Louis.

The Cubs will visit the winner of the Mets-Dodgers’ series on Saturday in Game 1 of the NLCS.

NLDS Recap: Chicago Cubs beat St. Louis Cardinals, 3-1

Game 1 St. Louis 4, Chicago 0
Game 2 Chicago 6. St. Louis 3
Game 3 Chicago 8, St. Louis 6
Game 4 Chicago 6, St. Louis 4

Best-of-five series

NEW YORK, NY - OCTOBER 13: Adrian Gonzalez #23 of the Los Angeles Dodgers celebrates after scoring a run off of Justin Turner #10 double to left field against Steven Matz #32 of the New York Mets in the third inning during game four of the National League Division Series at Citi Field on October 13, 2015 in New York City. (Photo by Elsa/Getty Images)

The LA Dodgers stayed alive in the other NLDS series with a 3-2 win over the New York Mets forcing a 5th and deciding game in LA on Thursday.

Clayton Kershaw pitched for the dodgers on 3 days rest and went the first 7 innings where he allowed just 1 run on 5 hits while striking out 8.

LA scored all 3 runs in the third inning with Justin Turner driving in 2 and Adrian Gonzales 1.