Patrick Mahomes went berserk on a referee Sunday night after an offensive offsides call negated a late touchdown for the Chiefs against the Bills.

It all started with Mahomes finding Travis Kelce over the middle of the field with 1:20 remaining, and the tight end lateralled the ball to Kadarius Toney, who ran it in the end zone for the touchdown.

Arrowhead was going nuts, but then would get quiet as the play got called back.

Mahomes slammed down his helmet and appeared to yell at a referee.

He also complained to Josh Allen as well.

The Kansas City Chiefs quarterback met up with Allen after the game and could be heard still upset about the call.

It was the second straight week the Chiefs were dealing with questionable officiating. Last week in Green Bay, they were left wondering why pass interference was not called on a hail mary.

Josh Allen completed 23-of-42 passes for 233 yards with a touchdown and an interception in the Bills’ 20-17 win over the Chiefs on Sunday. He also threw an interception for the ninth consecutive game.

It wasn’t quite a dominant game for Allen, but it got the job done.