BALTIMORE -- In a season when nothing has come easy, the Baltimore Ravens remained in the playoff hunt with a last-second stand on a two-point conversion attempt.

After quarterback Carson Wentz got the Philadelphia Eagles to within one point on a 4-yard touchdown run, the Ravens held strong with four seconds remaining, thwarting the Eagles' gamble to try to win the game with a two-point conversion and persevering for a 27-26 win.

What you need to know in the NFL • NFL playoffs coverage, schedule

• Statistics

• Scoreboard

• Complete 2016 schedule, results

• Standings

The Ravens have been aggressive when it comes to critical decisions all season, and they stuck with that mentality with their season on the line. On that two-point conversion, Baltimore called for an all-out blitz.

Ravens linebacker C.J. Mosley rushed the middle, got his hands up knowing the ball was coming out quickly and tipped Wentz's two-point pass attempt. Nickelback Jerraud Powers then knocked away the fluttering ball from Eagles wide receiver Jordan Matthews. There was more of a sigh of relief than an exuberant celebration after Baltimore's third win in four games.

"Shoot, we got the last laugh," safety Eric Weddle said. "It's going to come down to those one or two plays a game. If you're on the right side of those plays, you usually win."

Most of the Ravens knew the Pittsburgh Steelers staged a comeback victory at Cincinnati, and the pressure was on them to keep pace with their division rival. Everyone, even those on the sidelines, were on the edge of their seats.

"I watched with one eye open and one eye closed," wide receiver Steve Smith said.

This sets up a Christmas Day showdown between the Ravens (8-6) and Steelers (9-5) that likely will determine the AFC North champion.

The Ravens' clutch final play capped what was one of the worst games this season for the Baltimore defense. Baltimore got pushed around up front in the running game and had trouble defending Philadelphia's short passing game.

It didn't appear that the Ravens were going to stop an Eagles team that had been reeling. Baltimore allowed the Eagles to march 59 yards on nine plays to close the deficit to 27-26.

But the Ravens' defense, which was ranked No. 1 a week ago, stepped up to win the game on its final play on the field, much as it's done all season.

"Obviously a very exciting football game," coach John Harbaugh said. "A little too exciting there at the end. We have a lot of guys that will fight right until the end, so I'm proud of them for that."