LOS ANGELES (AP) — Peyton Manning’s stint as a backup didn’t last very long.

“My gut told me to turn it over to him,” coach Gary Kubiak said.

READ MORE: `Solidarity' Cited In New Deal For 40k Behind-the-Scenes Film & TV Workers

Combined with New England’s loss at Miami, the Broncos (12-4) secured the No. 1 seed even as they head into the playoffs with a quarterback quandary on their hands.

Kubiak wouldn’t say who his starter will be in the playoffs, but insisted, “I don’t think we have uncertainty. … We just find a way as a football team to be successful.”

The Chargers (4-12) wrapped up what might have been their final season representing San Diego as ownership tries to move the team to L.A.

The Broncos were facing the possibility of tumbling into the wild-card round because of Kansas City’s 10th consecutive win when Manning came to the rescue.

Manning’s stat line — 5 for 9 for 59 yards, no TDs, no interceptions and one sack — belied the impact he had. He led Denver on four scoring drives in five possessions before he lined up in victory formation.

The last scoring drive lasted one play: a 23-yard run by Ronnie Hillman after emergency safety Shiloh Keo, who surrendered Antonio Gates’ go-ahead TD in the third quarter, picked off Philip Rivers’ errant pass with just under five minutes remaining.

READ MORE: Dodgers Turn To Scherzer, Seeking To Even Championship Series

Keo was in because starter Darian Stewart aggravated a pulled hamstring, one of two big injuries for Denver. The Broncos also lost Pro Bowl pass rusher DeMarcus Ware to a knee injury shortly after his first sack since returning from a bad back last month.

Hillman (15 for 117) and C.J. Anderson (15 for 95) combined for a season-best 210 yards and both scored a TD.

Manning was healthy enough to suit up for the first time in seven weeks. Previously, in street clothes he’d watched his longtime understudy either from the sideline or on TV while dealing with an injured left foot. This was Manning’s first game serving as a backup since his freshman year at Tennessee when he replaced an injured Todd Helton against Mississippi State on Sept. 24, 1994.

Because he didn’t start, Manning didn’t break the tie he holds with Brett Favre for most regular-season wins, 186. This one goes on Osweiler’s record, his fifth win in seven starts.

Manning led the Broncos to 10 quick points and a 17-12 lead on a 1-yard TD by Anderson and a field goal. But the league’s best defense frittered it away when Pro Bowl cornerback Aqib Talib let Tyrell Williams race past him for an 80-yard touchdown catch that put San Diego back on top 20-17 early in the fourth quarter.

Brandon McManus tied it with a 35-yard field goal.

MORE NEWS: Ravens Shut Down Herbert, Chargers In 34-6 Victory

(© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)