The Baltimore Ravens have defeated the San Francisco 49ers 34-31.