Baker Mayfield threw a 7-yard touchdown pass to Rashard Higgins with 1:44 left as the Cleveland Browns snapped a four-game losing streak — and took some pressure off first-year coach Freddie Kitchens — with a 19-16 win on Sunday over the Buffalo Bills.

The Browns (3-6) rallied for a win that kept their season from completely collapsing.

Cleveland survived more problems in the red zone, but sealed the much-needed win when Buffalo kicker Stephen Hauschka‘s 53-yard field-goal attempt was short with 22 seconds left. Earlier, Hauschka missed a 34-yarder.

Mayfield finally delivered a clutch drive after Allen’s 1-yard sneak put the Bills ahead 16-12.

On second-and-goal, he threaded his TD pass to an open Higgins, who had been suspiciously missing from Cleveland’s game plan this season after being one of Mayfield’s favorite targets last season. It was Higgins’ only catch.

Mayfield had his second straight solid game, completing 26 of 38 passes for 238 yards and two TDs. He didn’t throw an interception for the second week in a row.

Browns running back Kareem Hunt made his debut for Cleveland and picked up 74 combined yards. The 24-year-old was eligible after completing an eight-game NFL suspension for two violent acts, including shoving and kicking a woman while he played for Kansas City.

Nick Chubb rushed for 116 yards on 20 carries for the Browns, and Jarvis Landry had nine catches for 97 yards and made a crucial catch on Cleveland’s game-winning drive.