Boldin set a franchise record with 145 yards receiving, including the clinching touchdown in the Ravens’ 24-9 victory over Andrew Luck and Indianapolis in an AFC wild-card game. The win delays star linebacker Lewis’ retirement for at least another week as Baltimore (11-6) heads to Denver next Saturday.

The Broncos beat the Ravens 34-17 three weeks ago.

“I wanted Denver,” Boldin said. “Because they beat us.”

Lewis, who made 13 tackles, even lined up at fullback for the final kneel-down in his last home game of a 17-year career. He then went into a short version of his trademark dance before being mobbed by teammates.

He followed with a victory lap, his right arm, covered by a brace, held high in salute to the fans after playing for the first time since tearing his right triceps on Oct. 14 against Dallas.

Thousands of fans at M&T Stadium were wearing No. 52 jerseys. Lewis has been a fan favorite in Baltimore since he was selected in the first round of the Ravens’ initial draft in 1996.

“My only focus was to come in and get my team a win. Nothing else was planned,” the 37-year-old Lewis said. “It’s one of those things, when you recap it all and try to say what is one of your greatest moments.

” I knew how it started but I never knew how it would end here in Baltimore. To go the way it did today, I wouldn’t change nothing.”

The loss ended the Colts’ turnaround season in which they went from 2-14 to the playoffs in coach Chuck Pagano’s first year in Indianapolis (11-6). Pagano missed 12 weeks while undergoing treatment for leukemia and returned last week.

Offensive coordinator Bruce Arians, who went 9-3 as interim coach, was absent Sunday after being hospitalized with an undisclosed illness. Quarterback coach Clyde Christensen called the plays, but Baltimore’s suddenly revitalized defense — inspired by Lewis’ pending retirement, no doubt — never let standout rookie QB Luck get comfortable.

Sunday’s victory enhanced the Ravens’ success rate in opening playoff games. Flacco now has won at least one postseason game in all five of his pro seasons, the only quarterback to do it in the Super Bowl era.

His main target Sunday was Boldin, who had receptions of 50 and 46 yards, plus his 18-yard TD on a floater from Flacco in the corner of the end zone with 9:14 to go.

“I told (Flacco) before the game I was going to get 200 yards,” Boldin said with a chuckle.

“It’s huge for us. It’s huge for this city, they’ve supported us this entire year and they expect a lot from us. In return, we want to give it to them.”

Baltimore overcame the first two lost fumbles of the season by Ray Rice, too, as John Harbaugh became the first head coach with wins in his first five playoff campaigns.

Backup halfback Bernard Pierce rescued Rice with a 43-yard burst that led to Boldin’s touchdown, and ran for 103 yards.

Flacco also connected with Dennis Pitta for a 20-yard TD and rookie Justin Tucker made a 23-yard field goal.

Indy’s only points came on three field goals by Adam Vinatieri, from 47, 52 and 26 yards. Luck completed 28 of 54 passes for 288 yards. It was the most attempts by a rookie in a playoff game.

Reggie Wayne had 108 yards on eight receptions and moved into second in career playoff catches with 91 — 60 behind leader Jerry Rice. But the Colts, who moved from Baltimore to Indianapolis in 1984 — they still are despised here — became the second NFL team to improve to 11 wins following a two-win season and then lose in the opening round of the playoffs.

The Ravens also beat the 2008 Dolphins in a similar scenario.

Both teams were sloppy early on, with Rice losing a fumble, Lewis dropping a potential interception, and Luck being stripped of the ball on a sack.

But Rice atoned with a 47-yard gain on a screen pass, leading to Vonta Leach’s 2-yard touchdown.

That Pro Bowl backfield was bolstered by the kick returns of another Pro Bowl player, Jacoby Jones. He gained 60 yards on kickoff runbacks and 57 on punt returns.

Vinatieri, familiar with big kicks in the playoffs after winning two Super Bowls for New England with field goals, made a 47-yarder in the second quarter, a 52-yarder as the first half expired, and a 26-yarder near the end of the third period. But he also missed a 40-yarder wide right.

Who has the edge next round? Ravens or Broncos? Share your predictions below…