CLEVELAND -- Greg Joseph lined up with six seconds left in overtime and measured his 37-yard field goal attempt.
Earlier, Joseph had missed an extra point and a potential winning kick on the final play of regulation, that from 55 yards.
The Browns as a team had seen a blocked kick lead to a tie against Pittsburgh and missed kicks lead to a loss in New Orleans. Baker Mayfield stood on the sideline, back to the field.
"I couldn't decide whether I wanted to look at the kick or not," Mayfield said.
It took nearly every second of the extra 10 minutes to do it, as the kick went through with two seconds left. The Browns twice failed to score in overtime and were pinned back to their 5-yard line on their third try.
But on third down from the 18, Baker Mayfield escaped a Ravens rush and found Derrick Willies for a 39-yard gain to the Baltimore 43. Duke Johnson then ran for 15, 5 and 4 yards to put the ball at the 19, setting things up for Joseph, who had been signed after Zane Gonzalez's missed kicks cost the Browns a game in New Orleans.
Joseph's kick gave the Browns their second win in five games, with one tie. They are also unbeaten at home in 2018 (2-0-1).
"It wasn't a pretty kick, but it went in," said Mayfield, who threw for 342 yards with a touchdown and interception. "And this also wasn't a pretty win, but it counts."
Joseph thought a Ravens player got a hand on the ball, but nobody on Baltimore took credit for a block. Regardless, the Browns will take it.
For the Browns, this was more than just a win.
A team trying to erase a losing culture and identity, a team trying to end two years of futility, a team that left Oakland frustrated and angry -- that team finally won a close game. The Browns kept the Ravens out of the end zone and somehow found a way to finally finish a close game with a victory.
Instead of falling to 1-3-1, the Browns moved back to .500 (2-2-1).
Instead of seeing the negativity grow over one more close and painful loss, the team and fans could go home smiling after a win.
"Our guys, we have been through it," coach Hue Jackson said. "We have weathered that storm. The guys, they knew that this time we have to find a way to do it."
It is the Browns' first win on a Sunday since they beat San Francisco on Dec. 13, 2015, a game when Johnny Manziel started at quarterback.
The win also snapped an 18-game winless streak in the AFC North, 13 of those games coming under Hue Jackson. Their last win in the division was Oct. 11, 2015, when Josh McCown threw for 457 yards in an overtime win in Baltimore.
"I don't know if I'd necessarily say that the Cleveland Browns are back," Mayfield said. "We have a lot of stuff to work on. But the AFC North is a great division. We're bringing the competition back within the division."