Baltimore coach John Harbaugh led the Ravens to a 28-13 victory against the New England Patriots in the AFC Championship Game at Gillette Stadium in Foxborough, Mass.
The San Francisco 49ers behind coach Jim Harbaugh (John's younger brother) were the first team in the Super Bowl when they rallied from a 17-point deficit to beat the Atlanta Falcons 28-24 in the NFC Championship Game in the Georgia Dome.
New England defeated Baltimore 23-20 in last year's AFC championship game.
The Ravens are making their first Super Bowl appearance since they defeated the New York Giants 34-7 in Super Bowl XXV in 2001.
San Francisco is making its first Super Bowl appearance since defeating the San Diego Chargers 49-26 in Super Bowl XXIV in 1994.
New England led 13-7 at halftime before Baltimore outscored the Patriots 21-0 in the second half.
The Patriots were 67-0 under quarterack Tom Brady when leading at halftime in a home game.
Meanwhile, San Francisco ralled from a 17-0 second-deficit, chipping away at the lead with clutch passing and running.
Trailing 24-21, the 49ers' running back Frank Gore scored on a 10-yard touchdown run with to take a 28-24 lead with 8:23 remaining in the game.
The Falcons had a chance to win the game, when they drove down to the 49ers 10-yard line. But Atlanta quarterback Matt Ryan threw an incompletion on a fourth-and-four play with 1:09 remaining in the game.