When 49ers coach Kyle Shanahan drew up the start to his head coaching career, he likely pencilled himself in for a win at some point before the 10th week of the regular season, but things don’t always play out exactly as one would hope.

The 49ers lost nine straight games before the Giants came to town on Sunday and provided the 49ers with a golden opportunity for the first win of the Shanahan era. The 49ers took advantage of that opportunity by rolling up 474 yards and scoring 21 straight points after falling behind 13-10 in the second quarter.

After the 31-21 win was over, Shanahan said at a press conference that he “got that monkey off my back” and credited the team’s players for keeping their spirits up through tough times.