WASHINGTON -- The NL East champion Washington Nationals secured home-field advantage throughout the postseason by beating the Philadelphia Phillies 5-1 Wednesday for their majors-high 98th victory, with Ryan Zimmerman homering moments after the Teddy Roosevelt mascot won the Presidents Race at Nationals Park for the first time.

Nationals manager Davey Johnson missed the end of the game after feeling numbness in his left leg, leaving the dugout to get X-rays and treatment from a team doctor. Johnson -- at 69, the oldest skipper in the majors -- said he does not expect to have any trouble traveling or managing in the playoffs.

By winning their regular-season finale, the Nationals clinched top seeding for the NL playoffs and will open on the road Sunday at the winner of Friday's wild-card game between Atlanta and St. Louis. Game 2 will also be at the wild-card winner's stadium, before the best-of-five series shifts to Washington.

Before Wednesday's game, the Nationals were fitted for hats with postseason patches. A team from the nation's capital hasn't participated in Major League Baseball action beyond the regular season since the Senators lost the 1933 World Series.

All in all, it was a festive day for the announced crowd of 37,075 and the Nationals (98-64), a club that hadn't finished higher than third place since moving from Montreal in 2005 and twice lost 100 games in a season. This is the first time the Expos/Nationals franchise has finished first in a complete season.

Philadelphia finished third in the division at 81-81, ending a streak of nine straight winning seasons and five consecutive playoff appearances.

The nine winning seasons matched the team record set from 1975-83 -- the Phillies followed that by going 81-81 in 1984. After the game, general manager Ruben Amaro Jr. announced that first base coach Sam Perlozzo was fired -- and indicated more changes could come Thursday.

Edwin Jackson (10-11) became Washington's fifth pitcher with at least 10 wins, giving up one run and six hits over 6 2-3 innings. He left to a standing ovation, one of several on a muggy afternoon with the temperature in the 70s.

"At this point, it's fun facts for the organization," Jackson said about the team's win total. "But at this point, in the postseason, if you lose out, all that gets washed away."

Rookie Tyler Moore's solo shot in the sixth inning made him the seventh member of the Nationals with at least 10 homers this season.

And then, of course, there was Teddy's triumph in the middle of the fourth inning, ending a losing streak that drew attention even from the White House press secretary and Sen. John McCain.

Teddy had lost more than 500 times since 2006, when the Nationals began holding races among 10-foot-tall foam renderings of Roosevelt, George Washington, Thomas Jefferson and Abraham Lincoln at home games.

The Nationals' very next batter, Zimmerman, led off the bottom of the fourth with his 25th homer, his team's first scoring off Cliff Lee (6-9).

The hitter after that, Michael Morse, doubled and eventually scored, too. In the eighth, Morse added his 18th homer, a two-run shot off reliever Jonathan Papelbon that drew a curtain call. Morse got treatment after the game for a sore left hamstring, which bothered him on his home run trot.

Lee, who finished with a losing record for the first time since 2007, departed after the sixth. He allowed eight hits and three runs, didn't walk a batter and struck out seven.

In the eighth, Papelbon lost control of a breaking pitch that buzzed near Zimmerman's head, drawing boos from the stands. Papelbon wound up walking Zimmerman, who tipped his cap in reaction to loud cheers as he walked to the dugout, replaced on first base by pinch-runner Bryce Harper. Morse followed with a drive to right-center.

The 19-year-old Harper and first baseman Adam LaRoche were out of the starting lineup -- a chance to get a breather before the grind of the postseason begins.