And now, San Francisco faces an offseason of change with the goal of returning the organization to the upper echelon spot it has held so often in the league's history.
Owner Jed York and the 49ers' key decision-makers are expected to replace both embattled GM Trent Baalke and Kelly, multiple sources say. A full house-cleaning is described as "likely" by several people with knowledge of the situation.
A final decision won't come until after Sunday's game. But it would be a major surprise if either Kelly or Baalke keep their jobs.