Ravens top Niners for Super Bowl triumph