Joe Flacco completed 12 of 23 passes for 282 yards and two touchdowns for the Ravens, who limped into the AFC wild-card playoff game with losses in four of their last five regular season games.
Flacco, who becomes the first quarterback to earn at least one playoff win in each of his first five years, averaged more than 12 yards in each of his completions.
His favorite target was Anquan Boldin, who caught five passes for 145 yards, including an 18-yard scoring strike from Flacco in the fourth quarter that gave the Ravens their 24-9 lead.
Rookie Andrew Luck, who guided the Colts' march to the postseason following last year's miserable 2-14 campaign, threw for 288 yards on 28 of 54 passing but was victimized by too many drops by his receivers.
Indianapolis, despite driving downfield repeatedly, had to settle for three field goals by veteran Adam Vinatieri.
The 37-year-old Lewis, a 13-time Pro Bowler widely considered the best linebacker of his generation, announced Wednesday he would be retiring after this season, his 17th in the National Football League.
Lewis, a 13-time Pro Bowl selection and former Super Bowl MVP, missed the last 10 games with a torn right triceps. He started the game and made 13 tackles, each of them cheered wildly by the crowd of 71,379 at M&T Bank Stadium.
The Ravens travel to Denver next Saturday, meaning the victory over the Colts was Lewis's last before his home fans.
Baltimore took control of the game in the third quarter when Flacco found Dennis Pitta on a 20-yard touchdown pass to give the Ravens a 17-6 lead.
A 26-yard field goal by Vinatieri in the final minute of the quarter trimmed the Ravens' lead to 17-9 but the Colts were able to get no closer.


![Helen Mirren: Dying Boy, Oliver Burton, Gets His Last Wish Thanks To Actress Dressed As Queen Elizabeth [PHOTOS] Helen Mirren: Dying Boy, Oliver Burton, Gets His Last Wish Thanks To Actress Dressed As Queen Elizabeth [PHOTOS]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_medium/public/2013/05/22/helen-mirren-visits-dying-boy_1.jpg)
![Oklahoma Tornado 2013: Photos And Footage Of The Twister's Devastation [PICTURES, VIDEO] Oklahoma Tornado 2013: Photos And Footage Of The Twister's Devastation [PICTURES, VIDEO]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_medium/public/2013/05/20/oklahoma-tornado_1.png)
![Billboard Music Awards 2013: All The Fashion On The Billboards Red (Er, Blue) Carpet [PHOTOS] Billboard Music Awards 2013: All The Fashion On The Billboards Red (Er, Blue) Carpet [PHOTOS]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_multimedia/public/2013/05/20/keha-givenchy.jpg)
















![5 Incredible Future Campuses For The World's Tech Giants [PHOTOS] 5 Incredible Future Campuses For The World's Tech Giants [PHOTOS]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_small/public/2013/05/22/amazons-biodome_0.jpg)






Like or Follow us for updates on the biggest stories!