TAMPA, Fla. — The Philadelphia Eagles went more than two months without a win, and even then they had to wait a few anxious minutes more to be sure they had ended the team's longest losing streak in 42 years.

Nick Foles threw a 1-yard touchdown pass to Jeremy Maclin as time expired Sunday, but a 23-21 victory over the Tampa Bay Buccaneers remained in doubt until the instant replay official upheld the catch that the jubilant receiver made as he went to his knees in the side of the end zone.

"Nick put the ball down and away like he was supposed to, I went down and got the ball, made sure I was in bounds, and the rest is history," Maclin said.

So is the eight-game skid that's assured the Eagles (4-9) of finishing with a losing record for only the third time in 14 years under coach Andy Reid.

Foles threw for two touchdowns in the final four minutes to overcome an 11-point deficit, finishing with an Eagles' rookie-record 32 completions and 381 yards. He was sacked six times, but withstood the punishment to also lead Philadelphia in rushing with three carries for 27 yards and a touchdown that helped build a 10-0 halftime lead.

"Very special. Very humbling," Foles said of his first victory as an NFL starter. "It's a great win, too, because we came back. We were winning, then we lost the lead. Guys stuck together."

And rallied around Foles, who attempted 51 passes in his fourth start in place of the injured Michael Vick, mainly because Tampa Bay completely shut down the Eagles running game.

Bryce Brown, filling in for the injured LeSean McCoy, was held to 6 yards on 12 carries after rushing for 347 yards against Carolina and Dallas the previous two weeks.

Foles threw an 11-yard TD pass to Clay Harbor with 3:55 remaining, then led the Eagles on a 64-yard game-winning drive after the Philadelphia defense forced a punt by Tampa Bay.

The third-round draft pick from Arizona set up the winning touchdown with a 22-yard completion to Jason Avant on fourth-and-5 to the Bucs 1. The Eagles scrambled up to the line and Foles spiked the ball, stopping the clock with 2 seconds left and giving himself a chance for one more play.

The 6-foot-6 Foles rolled to his right and found Maclin open in the side on the end zone, where the receiver made the catch going to his knees before being pushed out of bounds by cornerback Leonard Johnson.

"All around as a team, we just never quit. You guys are seeing Nick Foles grow into a phenomenal quarterback reight in front of your eyes," Maclin said. "I think the sky's the limit for him."

Rookie Doug Martin rushed for 128 yards and Josh Freeman shrugged off a slow start to throw for two second-half touchdowns to help Tampa Bay overcome its 10-point halftime deficit to go up 21-10 on Martin's 4-yard TD run midway through the fourth quarter.

That's when Foles, who scored on a 10-yard run in the first half, took charge.

The Eagles drove 72 yards in eight plays to Harbor's TD. Foles threw incomplete on a 2-point conversion that would have enabled his team to pull within 3 points, meaning Philadelphia needed a TD when the offense got the ball back with no timeouts and less than three minutes remaining.

Foles kept the final drive alive with a 3-yard run on fourth-and-1 from the Tampa Bay 31. It looked as though the Bucs might hang on before the rookie moved around to buy some time and threw 22 yards to Avant cutting across the middle to keep the Eagles' hopes live. Avant had seven receptions for 133 yards.

"They're gutty. That's what they are," Reid said, adding that Foles requested to run the play that produced the winning TD. "Some of the starters made big plays, and then the backups jumped on the bandwagon and joined them. ... I'm proud of the whole bunch."

Martin put together the fourth 100-yard game of his career on 28 carries. Freeman threw TD passes of 1 yard to Mike Williams and 13 yards to Vincent Jackson, who finished with six receptions for 131 yards.

The Bucs (6-7), who honored the franchise's only Super Bowl championship team at halftime, lost for the third straight week since using a four-game winning streak to climb into playoff contention.

The Eagles won for the first time since beating the New York Giants 19-17 on Sept. 30. They played a solid first half, but helped the Bucs get back in the game with their only turnover early in the third quarter.

Punt returner Damaris Johnson muffed a fair catch, and Tampa Bay's Dekoda Watson recovered at the Eagles 5 to set up Freeman's first touchdown pass.

"Any time we lose, it's frustrating, no matter what the reason is," said Freeman, who was 14 of 34 for 189 yards and no interceptions. "Philly just found a way to make more plays than us. Whether it was at the beginning of the game or down the stretch, it doesn't matter."

NOTES: Eagles CB Nnamdi Asomugha was shaken up early in the second quarter when he took a hard fall on a near interceptions. X-rays on his neck were negative and he returned to the game. ... The Bucs limited the Eagles to 29 yards rushing on 16 attempts. ... All four of Philadelphia's wins have been two or fewer points.

___

Online: and

Links:


Loading Slideshow...
  • Aaron Rodgers

    Green Bay Packers quarterback Aaron Rodgers breaks away from Detroit Lions' Ricardo Silva (39) for a 27-yard touchdown run during the second half of an NFL football game Sunday, Dec. 9, 2012, in Green Bay, Wis. (AP Photo/Jeffrey Phelps)

  • Fans exit the stands above a digital scoreboard at CenturyLink Field after an NFL football game between the Seattle Seahawks and the Arizona Cardinals in Seattle, Sunday, Dec. 9, 2012. The Seahawks won 58-0. (AP Photo/John Froschauer)

  • Aaron Rodgers, Nick Fairley, DeAndre Levy

    Green Bay Packers quarterback Aaron Rodgers (12) tries to run between Detroit Lions' Nick Fairley (98) and DeAndre Levy (54) during the first half of an NFL football game Sunday, Dec. 9, 2012, in Green Bay, Wis. (AP Photo/Mike Roemer)

  • Reggie Bush, Donte Whitner

    Miami Dolphins running back Reggie Bush (22) is stopped by San Francisco 49ers strong safety Donte Whitner (31) during the third quarter of an NFL football game in San Francisco, Sunday, Dec. 9, 2012. (AP Photo/Ben Margot)

  • Randall Cobb, Don Carey

    Green Bay Packers' Randall Cobb (18) can't handle a pass while being defended by Detroit Lions' Don Carey (32) during the second half of an NFL football game Sunday, Dec. 9, 2012, in Green Bay, Wis. (AP Photo/Jeffrey Phelps)

  • Martellus Bennett

    New York Giants tight end Martellus Bennett celebrates his 6-yard touchdown reception with fans during the first half of an NFL football game against the New Orleans Saints, Sunday, Dec. 9, 2012, in East Rutherford, N.J. (AP Photo/Kathy Willens)

  • Cam Newton, Frank Alexander

    Carolina Panthers quarterback Cam Newton (1) and defensive end Frank Alexander (90) celebrate as they run off the field after an NFL football game against the Atlanta Falcons in Charlotte, N.C., Sunday, Dec. 9, 2012. The Panthers won 30-20. (AP Photo/Rainier Ehrhardt)

  • Tennessee Titans' Kenny Britt (18) reacts on the bench during the second half of an NFL football game against the Indianapolis Colts, Sunday, Dec. 9, 2012, in Indianapolis. The Colts won 27-23. (AP Photo/Michael Conroy)

  • Robert Griffin III

    Washington Redskins quarterback Robert Griffin III is helped off the filed after an injury during the second half of an NFL football game against the Baltimore Ravens in Landover, Md., Sunday, Dec. 9, 2012. (AP Photo/Patrick Semansky)

  • Richard Murphy, Robert Malone

    Jacksonville Jaguars running back Richard Murphy (39) attempts to block a punt by New York Jets punter Robert Malone (3) during the second half of an NFL football game, Sunday, Dec. 9, 2012, in Jacksonville, Fla. The Jets beat the Jaguars 17-10. (AP Photo/Stephen Morton)

  • Ellis Lankster, Eric Smith

    New York Jets defensive back Ellis Lankster (26) intercepts a pass as free safety Eric Smith (33) watches near the end of the fourth quarter during an NFL football game against the Jacksonville Jaguars in Jacksonville, Fla., Sunday, Dec. 9, 2012. The Jets won 17-10.(AP Photo/Phelan M. Ebenhack)

  • Detroit Lions v Green Bay Packers

    GREEN BAY, WI - DECEMBER 09: Matthew Stafford #9 of the Detroit Lions celebrates in the end zone after scoring against the Green Bay Packers at Lambeau Field on December 9, 2012 in Green Bay, Wisconsin. (Photo by Jonathan Daniel/Getty Images)

  • Elbert Mack

    New Orleans Saints defensive back Elbert Mack scores on a 73-yard interception return on a pass by New York Giants quarterback Eli Manning during the first half of an NFL football game, Sunday, Dec. 9, 2012, in East Rutherford, N.J. (AP Photo/Kathy Willens)

  • Robert Griffin III, Courtney Upshaw, Paul Kruger

    Washington Redskins quarterback Robert Griffin III is sacked by Baltimore Ravens outside linebacker Courtney Upshaw (91) and outside linebacker Paul Kruger (99) during the second half of an NFL football game in Landover, Md., Sunday, Dec. 9, 2012. (AP Photo/Alex Brandon)

  • Tony Romo

    Dallas Cowboys quarterback Tony Romo leaves the field after the Cowboys defeated the Cincinnati Bengals 20-19 in an NFL football game, Sunday, Dec. 9, 2012, in Cincinnati. (AP Photo/Michael Keating)

  • Robert Griffin III

    Washington Redskins quarterback Robert Griffin III is helped off the field after an injury during the second half of an NFL football game against the Baltimore Ravens in Landover, Md., Sunday, Dec. 9, 2012. (AP Photo/Alex Brandon)

  • Kirk Cousins

    Washington Redskins quarterback Kirk Cousins is hit by Baltimore Ravens linebacker Josh Bynes as he dives into the end zone for a two point conversion during the second half of an NFL football game in Landover, Md., Sunday, Dec. 9, 2012. (AP Photo/Patrick Semansky)

  • Aaron Rodgers

    Green Bay Packers' Aaron Rodgers squints in the snow as he warms up before an NFL football game against the Detroit Lions Sunday, Dec. 9, 2012, in Green Bay, Wis. (AP Photo/Mike Roemer)

  • Bilal Powell

    New York Jets running back Bilal Powell, left, scores a touchdown on a 4-yard run past the Jacksonville Jaguars defense during the second half of an NFL football game, Sunday, Dec. 9, 2012, in Jacksonville, Fla. (AP Photo/Stephen Morton)

  • Heath Miller, Eric Weddle

    Pittsburgh Steelers tight end Heath Miller (83) stretches for the end zone after being tackled by San Diego Chargers free safety Eric Weddle (32) in the fourth quarter ofan NFL football game in Pittsburgh, Sunday, Dec. 9, 2012. Miller did not score on the play and the call was confirmed by replay(AP Photo/Gene J. Puskar)

  • Jim Harbaugh

    San Francisco 49ers head coach Jim Harbaugh watches from the sidelines during the first quarter of an NFL football game against the Miami Dolphins in San Francisco, Sunday, Dec. 9, 2012. (AP Photo/Marcio Jose Sanchez)

  • Andy Reid, Greg Schiano

    Philadelphia Eagles head coach Andy Reid, right, consols Tampa Bay Buccaneers head coach Greg Schiano after the Eagles defeated the Buccaneers 23-21 during an NFL football game Sunday, Dec. 9, 2012, in Tampa, Fla. (AP Photo/Chris O'Meara)

  • Bryce Brown, Josh Freeman

    Tampa Bay Buccaneers quarterback Josh Freeman, right, congratulates Philadelphia Eagles running back Bryce Brown (34) after the Eagles defeated the Tampa Bay Buccaneers 23-21during an NFL football game Sunday, Dec. 9, 2012, in Tampa, Fla. (AP Photo/Chris O'Meara)

  • Robert Griffin III

    Washington Redskins quarterback Robert Griffin III walks through the bench area with a brace on his knee during overtime in an NFL football game against the Baltimore Ravens in Landover, Md., Sunday, Dec. 9, 2012. The Redskins defeated the Raven 31-28. (AP Photo/Nick Wass)

  • Dez Bryant

    Dallas Cowboys wide receiver Dez Bryant (88) leaves the field after their 20-19 win over the Cincinnati Bengals in an NFL football game, Sunday, Dec. 9, 2012, in Cincinnati. (AP Photo/Tom Uhlman)

  • Josh Freeman

    Tampa Bay Buccaneers quarterback Josh Freeman (5) throws a pass against the Philadelphia Eagles during the first quarter of an NFL football game Sunday, Dec. 9, 2012, in Tampa, Fla. (AP Photo/Brian Blanco)

  • Joe Flacco, DeAngelo Hall, Jordan Pugh, Courtney Upshaw

    Baltimore Ravens quarterback Joe Flacco is sacked by Washington Redskins cornerback DeAngelo Hall (23), defensive back Jordan Pugh (32) and outside linebacker Courtney Upshaw during overtime in an NFL football game in Landover, Md., Sunday, Dec. 9, 2012. The Redskins won 31-28. (AP Photo/Alex Brandon)

  • Drew Brees, Jason Pierre-Paul

    New Orleans Saints quarterback Drew Brees (9) attempts to pass before being tackled by New York Giants defensive end Jason Pierre-Paul during the first half of an NFL football game, Sunday, Dec. 9, 2012, in East Rutherford, N.J. (AP Photo/Kathy Willens)

  • Lambeau Field

    Some fans make their way to Lambeau Field before an NFL football game between the Green Bay Packers and the Detroit Lions Sunday, Dec. 9, 2012, in Green Bay, Wis. (AP Photo/Jeffrey Phelps)

  • Jed Collins, Antrel Rolle, Michael Boley

    New Orleans Saints fullback Jed Collins (45) fumbles as New York Giants cornerback Corey Webster (23), Antrel Rolle (26) and Michael Boley (59) try to recover the ball during the first half of an NFL football game, Sunday, Dec. 9, 2012, in East Rutherford, N.J. (AP Photo/Kathy Willens)

  • Pete Carroll, Marshawn Lynch

    Seattle Seahawks head coach Pete Carroll congratulates running back Marshawn Lynch (24) after Lynch scored on a 20-yard touchdown run during the first quarter of an NFL football game against the Arizona Cardinals in Seattle, Sunday, Dec. 9, 2012. (AP Photo/John Froschauer)

  • Robert Griffin III-

    Washington Redskins quarterback Robert Griffin III leaves the field after their 31-28 overtime win over the Baltimore Ravens in an NFL football game in Landover, Md., Sunday, Dec. 9, 2012. (AP Photo/Alex Brandon)

  • Richard Sherman

    Seattle Seahawks cornerback Richard Sherman (25) returns an interception from Arizona Cardinals quarterback John Skelton for a 19-yard touchdown during the second quarter of an NFL football game in Seattle, Sunday, Dec. 9, 2012. (AP Photo/Stephen Brashear)

  • Darcel McBath, Michael Wilhoite, Marcus Thigpen

    Miami Dolphins running back Marcus Thigpen is brought down with the ball by San Francisco 49ers linebacker Michael Wilhoite (57) as 49ers defensive back Darcel McBath (28) moves in during the second quarter of an NFL football game in San Francisco, Sunday, Dec. 9, 2012. (AP Photo/Ben Margot)

  • Matthew Stafford, Brad Jones

    Detroit Lions' Matthew Stafford reacts after running for a touchdown against Green Bay Packers' Brad Jones (59) during the first half of an NFL football game Sunday, Dec. 9, 2012, in Green Bay, Wis. (AP Photo/Jeffrey Phelps)

  • Everson Griffen, Jay Cutler

    Chicago Bears quarterback Jay Cutler (6) gets hit by Minnesota Vikings defensive end Everson Griffen, left, after passing the ball during the second half of an NFL football game, Sunday, Dec. 9, 2012, in Minneapolis. Griffen was called for a personal foul on the play. (AP Photo/Genevieve Ross)

  • David Akers

    San Francisco 49ers kicker David Akers reacts after making a field goal during the second quarter of an NFL football game Miami Dolphins in San Francisco, Sunday, Dec. 9, 2012. (AP Photo/Ben Margot)

  • Chykie Brown, Sav Rocca

    Washington Redskins' Sav Rocca, right, hugs Kai Forbath (2) after Forbath's winning 34-yard field goal in overtime of an NFL football game against the Baltimore Ravens in Landover, Md., Sunday, Dec. 9, 2012. The Redskins won 31-28. (AP Photo/Patrick Semansky)

  • Brian Robison, Jay Cutler

    Chicago Bears quarterback Jay Cutler, right, runs from Minnesota Vikings defensive end Brian Robison during the first half of an NFL football game, Sunday, Dec. 9, 2012, in Minneapolis. (AP Photo/Genevieve Ross)

  • Al Afalava, Derrick Morgan

    Tennessee Titans' Al Afalava (38) celebrates with Derrick Morgan (91) after Afalava intercepted pass from Indianapolis Colts quarterbac Andrew Luck during the first half of an NFL football game, Sunday, Dec. 9, 2012, in Indianapolis. (AP Photo/Michael Conroy)

  • Mike Williams, Tiquan Underwood

    Tampa Bay Buccaneers wide receiver Mike Williams (19) celebrates with teammate wide receiver Tiquan Underwood after catching a one-yard touchdown pass against the Philadelphia Eagles during the third quarter of an NFL football game Sunday, Dec. 9, 2012, in Tampa, Fla. (AP Photo/Brian Blanco)

  • Matthew Stafford

    Detroit Lions' Matthew Stafford reacts after rushing for a touchdown during the first half of an NFL football game against the Green Bay Packers Sunday, Dec. 9, 2012, in Green Bay, Wis. (AP Photo/Jeffrey Phelps)

  • Fred Jackson, Quintin Mikell

    Buffalo Bills running back Fred Jackson (22) goes airborne after being hit by St. Louis Rams free safety Quintin Mikell during the second half of an NFL football game, Sunday, Dec. 9, 2012, in Orchard Park, N.Y. (AP Photo/Gary Wiepert)

  • Delone Carter, Weslye Saunders

    Indianapolis Colts' Delone Carter (34) celebrates with Weslye Saunders after Carter ran for a 1-yard touchdown during the second half of an NFL football game against the Tennessee Titans, Sunday, Dec. 9, 2012, in Indianapolis. (AP Photo/Michael Conroy)

  • Cam Newton, Chris Hope, Kroy Biermann, Sean Weatherspoon

    Carolina Panthers quarterback Cam Newton (1) scrambles past Atlanta Falcons' Chris Hope (24), Kroy Biermann (71), and Sean Weatherspoon (56) during the first half of an NFL football game in Charlotte, N.C., Sunday, Dec. 9, 2012. (AP Photo/Bob Leverone)

  • Trent Richardson

    Cleveland Browns running back Trent Richardson (33) leaps over the line during the third quarter of an NFL football game against the Kansas City Chiefs, Sunday, Dec. 9, 2012, in Cleveland. (AP Photo/Rick Osentoski)

  • Josh Cribbs, Cory Greenwood

    Cleveland Browns wide receiver Josh Cribbs (16) stretches for the goal line after being tackled by Kansas City Chiefs linebacker Cory Greenwood (93) in the third quarter of an NFL football game, Sunday, Dec. 9, 2012, in Cleveland. (AP Photo/Rick Osentoski)

  • Jason Avant

    Philadelphia Eagles wide receiver Jason Avant (81) makes a catch of a pass during the second quarter of an NFL football game against the Tampa Bay Buccaneers Sunday, Dec. 9, 2012, in Tampa, Fla. (AP Photo/Brian Blanco)

  • Brian Quick, Justin Rogers

    St. Louis Rams wide receiver Brian Quick (83) is tackled by Buffalo Bills defensive back Justin Rogers (26) during the second half of an NFL football game, Sunday, Dec. 9, 2012, in Orchard Park, N.Y. (AP Photo/Bill Wippert)

  • Vontae Davis, Kenny Britt

    Tennessee Titans' Kenny Britt (18) makes a catch against Indianapolis Colts' Vontae Davis (23) during the first half of an NFL football game, Sunday, Dec. 9, 2012, in Indianapolis. (AP Photo/Jeff Roberson)

  • Joseph Russo

    Minnesota Vikings fan Joseph Russo, of Chicago, tailgates before an NFL football game between the Chicago Bears and the Vikings, Sunday, Dec. 9, 2012, in Minneapolis. A major winter storm was expected to dump 9 to 15 inches across a broad belt of central Minnesota including the Twin Cities area by Sunday night, and the storm was also to bring heavy snow to parts of western Wisconsin. (AP Photo/The Star Tribune, Jerry Holt) MANDATORY CREDIT; ST. PAUL PIONEER PRESS OUT; MAGS OUT; TWIN CITIES TV OUT