The 2004 season was the San Francisco 49ers' 55th in the National Football League, the 59th overall and their second and final under head coach Dennis Erickson, as he was fired after the season. The 49ers attempted to improve on their 7–9 output from the previous season, but the 49ers finished the season at 2–14, both wins coming against division-rival Arizona Cardinals in overtime by the same score. The 49ers earned the #1 overall pick in the 2005 NFL Draft, where they selected quarterback Alex Smith, who would play for the team for eight seasons.