CLEVELAND — Joe Thomas watched the kick tumble through the air and sail right of the upright, giving the Cleveland Browns their first win in more than a year. He felt a little lost.

“I was looking around for people to hug,” he said. “There were a few tears in my eyes. I was really happy. There was a genuine feeling of joy. The Christmas spirit was amongst us, for sure.”

Yes, Cleveland, there is a Santa Claus.

On the verge of infamy and further embarrassment, the Browns, who have spent this season being kicked around, ridiculed and beaten to a pulp, finally triumphed.

Forget 0-16.

Two losses from an imperfect season, the Browns survived a last-second field-goal attempt Saturday and got their first victory after 14 losses by beating the San Diego Chargers 20-17.

When San Diego’s Josh Lambo missed a 45-yard field-goal attempt as time expired, the Browns (1-14) had their first win in 377 days. Cleveland’s small crowd erupted in celebration, Browns owners Jimmy and Dee Haslam cheered from their suite, and Browns players poured off their sideline as if they had just won the Super Bowl. Several players dropped to the turf in disbelief and relief.

“Finally getting that win … definitely felt amazing,” Thomas said. “You don’t want to say it was like our Super Bowl, but it really was.”

The Browns avoided becoming the second team to go 0-15, and no longer have to worry about joining the 2008 Detroit Lions as the only teams to lose all 16 games.

“I don’t want that next to any of our names associated with this organization, and so we got that monkey off our back,” said Coach Hue Jackson, who got his first win with Cleveland.

The Browns built 10-point lead in the third quarter and defensive tackle Jamie Meder blocked a potential tying field goal with 3:49 left as Cleveland held on to snap a 17-game losing streak dating to last season.

The Chargers (5-10) lost their fourth straight. San Diego’s players had little to say afterward, and rookie defensive end Joey Bosa, who recorded two sacks, declined to speak with reporters.

It took everything the Browns had, and some help from the Chargers, for Cleveland to finally come away with a victory after weeks of injuries and losses.

“No one has ever given up,” Jackson said. “I know sometimes it does not look as good we want to, but we have stuck to it and kept fighting. Just trying to do everything we could to win, and that is what you see tonight.”