Three of his kicks came in the first half as Buffalo grabbed a 9-0 halftime advantage. Buffalo built its lead to 19-7 in the third, and held off a late Baltimore surge.
Rookie running back Marshawn Lynch scored once on 27 attempts for 84 yards, quarterback Trent Edwards went 11-for-21 passing for 153 yards and Lee Evans caught five passes for 98 yards as the Bills (2-4) averted a two-game skid. The Bills had started 1-4 for the third time since the 2001 season.
Former Buffalo running back Willis McGahee led Baltimore with one touchdown on 19 rushes for 114 yards.
Quarterback Kyle Boller completed 21 of 36 passes for 191 yards with one touchdown. Derrick Mason caught a touchdown pass and finished with seven receptions for 78 yards as the Ravens (4-3) had a two-game winning streak snapped.