Answer based on context:

Trying to break a two-game skid, the 49ers stayed at home for a Week 5 interconference matchup with the Baltimore Ravens. With QB Alex Smith out with a shoulder injury, back-up Trent Dilfer was given the start against the team to which he helped deliver a Super Bowl title. After a scoreless first quarter, the Ravens got the lead with kicker Matt Stover getting a 26-yard and a 32-yard field goal. In the third quarter, Baltimore increased its lead with Stover nailing a 49-yard field goal. The Niners came close to taking the lead with Dilfer completing a 49-yard TD pass to WR Arnaz Battle. With two minutes left in the fourth quarter, the 49ers had a chance to take the lead, but kicker Joe Nedney missed a 52-yard field goal and the Ravens ran out the clock. With their third straight loss, the 49ers entered their bye week at 2-3.

How many yards was the longest made field goal?
49