In 2014, Dennis Allen was fired after a 0–4 start and replaced by former Dolphins head coach and then-Raiders offensive line coach Tony Sparano for the remainder of the season. They became the first team to be mathematically eliminated from playoff contention and were guaranteed a fourth-place finish in the AFC West after a loss in Week 11 dropped them to 0–10. The Raiders were the last team in the league that year to win a game, finally doing so the next week against their division rival, the Kansas City Chiefs, but they were crushed 52–0 by the Rams the next week. The Raiders did manage to defeat their geographic rival, the San Francisco 49ers, and defeated Buffalo in Week 16, which mathematically eliminated the Bills from playoff contention for the 15th straight year. Oakland's final record that season was 3–13. Their offense struggled mightily, averaging just 282.2 yards per game (last in the league). On the positive note, quarterback and second-round pick Derek Carr, who served as the starter for the entire season, set a Raiders record for most passing yards in one season by a rookie. Also, linebacker Khalil Mack, selected in the first round, had 75 tackles and 4 sacks.