MIAMI -- It was decided a long time ago that the Miami Marlins would not be reaching their goal of making the playoffs.
However, the National League East division rival Philadelphia Phillies still had an outside shot heading into the final stretch of the season.
That is until Carlos Lee hit a walk-off single in the ninth to lift the Marlins to a 2-1 win over the Phillies, snapping a season-high seven-game losing streak.
"In that situation, I'm just trying to stay back and hit the ball up the middle, the big part of the field," Lee said. "I got a pitch over the plate and he gave me a good chance."
Lee's one-out single to left-center field came off Josh Lindblom (3-4). Laynce Nix's throw to home was off-line, allowing Bryan Petersen to score the winning run.
"Any time you win -- winning's great," Lee said. "It's been tough. Any time you get a win it's a win -- no matter how."
Petersen got it started for the Marlins with a leadoff double down the right-field line off Lindblom.
"We thought that Lindblom could get that guy out," Phillies manager Charlie Manuel said. "He had him 0-2 and he ended up getting ahead, a guy that's hitting .205 against righties."
Jose Reyes grounded out and Giancarlo Stanton was intentionally walked, setting up the at-bat with Lee.
Steve Cishek (5-2) pitched the ninth for the win.
The loss prevented Philadelphia from reaching the postseason for the first time in six seasons.
"It's disappointing," said Phillies starter Cliff Lee. "I think everyone here could agree with that. We expected to win this division, make the postseason, and win the World Series ultimately. Obviously that's not going to happen now."
Lee allowed one run and three hits in seven innings.
The Marlins received a strong outing from Mark Buehrle, who allowed one run and six hits in eight hits. He struck out eight while throwing 73 of 115 pitches from strikes in what could be his last start of the season as he eclipsed the 200-inning mark for the 12th straight season.
"Amazing this kid -- I hope people notice what he does," Marlins manager Ozzie Guillen said. "Very professional, very consistent for a long time. In the American League it is a little easier to throw 200 innings because you don't have to pinch hit."
Buehrle held the Phillies scoreless until Jimmy Rollins hit a two-out RBI single in the eighth inning for the Phillies to tie the game 1-1.
"I set a goal in spring training to get (200 innings); I made it," Buehrle said. "I showed Ozzie I could swing it a little bit to stay out there. It's a great goal. Go for next year, too."
The Marlins led 1-0 through five innings.
The Phillies had the first scoring opportunity of the game in the top of the second. After Ty Wigginton and Darin Ruf reached on one-out singles off Buehrle, John Mayberry struck out. Then, Michael Martinez reached base on a slow roller to second baseman Donovan Solano, but Wigginton over-ran third base and Solano fired to third to get Wigginton and end the inning.
Stanton doubled to left in his first at-bat after missing the last nine games with an oblique strain. He gave the Marlins a 1-0 lead with his 35th home run off Lee in the fourth. The estimated 419-foot shot to left-center field established a new season-high for the 22-year old.
After the infield hit by Martinez, Buehrle retired the next nine batters he faced including three strikeouts.
Lee was nearly as effective as Buehrle allowing just three hits through five innings, but Stanton's blast was the difference.
Notes: Stanton, Miami's lone All-Star representative, was also placed on the disabled list in July following knee surgery caused him to miss 25 games. "This kid has had a tough year, a few injuries, missing a lot of games, but he put a tremendous year together," manager Ozzie Guillen said. ... Solano came into the game hitting .331 (47 of 142) since August 17, the second-best among all rookies. ... Lee extended his modern-era Major League record to 16 consecutive starts with at least six innings pitched and not issuing more than one walk. ... Buehrle's 12-season streak of 200 innings pitched was also with at least 10 wins and 30 starts. It is the longest active streak in the majors.