Jim Harbaugh has agreed to a new contract with the Michigan Wolverines.

The new agreement alters the one Harbaugh agreed to last year and adds a year to a deal that now runs through the 2026 season.

Harbaugh flirted with becoming the next head coach of the Minnesota Vikings last month.

"I love Michigan Football, the University of Michigan and the Ann Arbor community," Harbaugh said in a statement. "My family and I are excited to continue leading this football program, and we are thankful for the support that our athletic department and university administration have demonstrated toward the team. I appreciate all that our players, coaches and staff are doing to excel on and off the football field. My enthusiasm for tomorrow, the day after and every day following is as high as ever, and we are ready to get on the practice field and start preparations for the 2022 season. Go Blue!"