BALTIMORE, MD - NOVEMBER 09: Quarterback Joe Flacco #5 of the Baltimore Ravens celebrates after defeating the Tennessee Titans at M&T Bank Stadium on November 9, 2014 in Baltimore, Maryland. (Photo by Patrick Smith/Getty Images) (Photo by Patrick Smith/Getty Images)

WASHINGTON (CBSDC/AP)–The Washington Nationals signed Jayson Werth to show them how to win. His game-ending homer Thursday night extended their surprising season.

Werth led off the bottom of the ninth inning by driving Lance Lynn’s 13th pitch into the left-field stands to give the Nationals a 2-1 victory over the defending World Series champion St. Louis Cardinals and force a Game 5 in their NL division series.

As he circled the bases, Werth raised his right index finger in a “No. 1” gesture, while the announced crowd of 44,392 roared. The other Nationals raced out of the dugout to greet Werth, who tossed his red batting helmet high in the air before jumping on home plate and being enveloped by a bouncing collection of thrilled teammates.

The best-of-five series will end Friday night in Washington, with the winner advancing to face the San Francisco Giants in the NL championship series. The starters will provide a rematch of Game 1, which Washington won, with Gio Gonzalez on the mound for the Nationals, and Adam Wainwright for the Cardinals.

Photos: Nats Celebrate Werth’s Game Winning Shot

“It will be a lot like today. It’s what it’s all about. It’s what you play all season for and what you work out all winter for and what you get to spring training early for,” Werth said. “We have a chance tomorrow to take that next step. I know my teammates will be ready and the city will, too.”

The homer was Werth’s first with the Nationals but 14th of his career in the postseason. He won the 2008 World Series and a string of division titles with the Philadelphia Phillies before moving to Washington as a free agent before last season on a $126 million contract that stunned much of baseball.

He gets a ton of credit for helping steer a quick turnaround: The Nationals lost 100 games in 2008 and 2009, but led the majors with 98 wins and won their division this year.

“When I signed here, my first day here, I went to a Capitals game, a hockey game, (and) the place was packed. Somebody said, ‘Just a few short years ago, this place was empty.’ So I knew that a winning ballclub would bring the fans,” Werth said, “and here we are, two years later and they’re showing up and it’s awesome.”

Werth’s shot provided a sudden end to a classic postseason contest filled with tremendous pitching. Each team managed only three hits.

Lynn, usually a starter for St. Louis but a reliever in these playoffs, was making his third appearance of this series. He was the Cardinals’ third pitcher — and faced only one batter — and manager Mike Matheny was asked afterward why he didn’t use closer Jason Motte.

“If we were at home, it would have been a very easy decision to bring in Motte,” Matheny said, explaining that if he used up his closer and St. Louis went ahead later in the game, a reliever not used to getting a save would have needed to try.

“Had a lot of confidence in Lance. He came in throwing the ball well. Werth just put together a very good at-bat,” Matheny added.

Cardinals batters did not down the stretch. They made eight consecutive outs via strikeouts against three Nationals pitchers — Jordan Zimmermann, Tyler Clippard and Drew Storen, who threw the top of the ninth and got the win.

Storen walked No. 8 hitter Pete Kozma with two outs, before getting pinch hitter Matt Carpenter out on a twisting, stumbling overhead catch by shortstop Ian Desmond, who wound up sliding on his belly in short left field. When Desmond rose, he threw the ball into the stands and yelled.

Moments later, Werth had all the red-clad, towel-twirling spectators yelling, too, thanks to the way he turned on a 96 mph fastball. For much of the game, the hometown fans were rather quiet, perhaps dreading a sooner-than-expected end to their team’s better-than-expected year.

Starters Kyle Lohse, who won the wild-card playoff game for St. Louis against Atlanta last week, and Ross Detwiler were both superb.

Lohse lasted seven innings, allowing one run and two hits. Detwiler went six, with one unearned run and three hits all he conceded.

Lohse was replaced by Mitchell Boggs, who struck out pinch hitter Chad Tracy with a man on to end the eighth, before giving way to Lynn.

While nearly to a man — except, naturally, for Werth — the young Nationals are new to this sort of thing, the wild-card Cardinals have quite the postseason pedigree: Over the past two years, St. Louis is 5-0 in games where it faces elimination, including must-have victories in Games 6 and 7 of the 2011 World Series against the Texas Rangers.

“We got a lot of experience, a lot of confidence built. Just going to the World Series and winning the World Series, having to play a Game 7 and come out on top — you’re seeing a lot of us use that experience so far in this postseason,” St. Louis first baseman Allen Craig said. “We had a tough, do-or-die game in Atlanta and came out on top, and after we won that game, I think we started to feel really good about ourselves and get that feeling like we had last year.”

Washington entered Game 4 with all sorts of problems at the plate in the series: 3 for 24 with runners in scoring position, 30 men left on base, a total of only seven runs. Despite those struggles, Nationals manager Davey Johnson didn’t make any changes at all to his lineup.

As it turned out, the Nationals didn’t have an at-bat with anyone in scoring position all game. Both runs came on solo shots.

Cleanup hitter Adam LaRoche put Washington ahead 1-0 in the second, fouling off three consecutive pitches before depositing Lohse’s full-count 92 mph sinker onto the grass berm beyond center field.

In the third, the Cardinals tied it without a hit. Detwiler walked Kozma — a rookie Johnson referred to as “Cosmos” before the game — and after a sacrifice bunt, Jon Jay reached on an error when Desmond booted a grounder. Carlos Beltran’s sac fly scored Kozma.

Detwiler is the fourth member of Washington’s postseason staff — odds are he wouldn’t have been in the rotation if Stephen Strasburg were still pitching, instead of shut down — but he was terrific. With his 104th and last pitch, Detwiler got Daniel Descalso to ground out.

In came Zimmermann for the first relief appearance of his career. Zimmermann, who started and lost Game 2, said beforehand that he’d never even set foot in the bullpen area before, but added: “I’ll be ready to go if the phone rings.”

Was he ever. Zimmermann struck out all three batters in the seventh. In the eighth, it was Clippard’s turn. The pitcher who lost the closer’s job after a rough late-season stretch came in and also got each of his three outs on Ks, working around a walk and leaving the mound punching the air after getting Yadier Molina to swing through a 94 mph fastball.

And in the ninth, Storen added two more strikeouts before Desmond’s great grab.

(TM and Copyright 2012 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2012 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)

Listen here to what Davey Johnson, Jayson Werth, Ross Detwiler, Adam LaRoche, Ryan Zimmerman, Ian Desmond, Tyler Clippard, Drew Storen, Jordan Zimmermann & Cardinals Manager Mike Matheny had to say after the game.

Davey Johnson Postgame Audio

Jayson Werth Postgame Audio

Ross Detwiler Postgame Audio

Adam LaRoche Postgame Audio

Ryan Zimmerman Postgame Audio

Ian Desmond Postgame Audio

Tyler Clippard Postgame Audio

Drew Storen Postgame Audio

Jordan Zimmermann Postgame Audio

Mike Matheny Postgame Audio