(CNN) -- The Baltimore Ravens staved off a furious San Francisco 49ers second-half rally to win Super Bowl XLVII 34-31 on Sunday night in New Orleans.