The Los Angeles Chargers secured a place in the NFL playoffs with a dramatic 29-28 comeback victory over division rivals the Kansas City Chiefs.

The side erased a 14-point deficit in the final five minutes, Mike Williams scoring on a touchdown with four seconds remaining to cut the Chiefs’ lead to 28-27.

Coach Anthony Lynn opted to go for the win, and quarterback Philip Rivers connected with Williams on the game-winning two-point conversion.

The victory means the Chiefs and the Chargers are now tied at the top of the AFC, on 11-3 for the season.

It also ended Los Angeles’ nine-game losing streak to their longtime opponents.

Rivers threw for 313 yards and two touchdowns, while Williams had three touchdowns.