Buster Olney details how the Dodgers were able to resign closer Kenley Jansen and says Jansen chose to stay with Los Angeles because he isn't a big fan of change. (1:33)

Kenley Jansen and the Los Angeles Dodgers have agreed to a five-year, $80 million deal, a Dodgers source confirmed to ESPN's Jim Bowden on Monday.

Jansen had a trio of teams chasing him as finalists for his services: the Washington Nationals, Miami Marlins and Dodgers. League sources told Bowden that Jansen had better offers from both the Nationals and Marlins but wanted to stay home and was willing to take less to do it.

Jansen's deal is the second-largest free-agent reliever contract in history, behind Aroldis Chapman's five-year, $86 million deal with the Yankees from last week.

Jansen recorded 47 saves in 71 appearances for the Dodgers in 2016, finishing the year with a 1.83 ERA. He was the recipient of Major League Baseball's 2016 Trevor Hoffman National League Reliever of the Year Award.

After a June 20 save against the Washington Nationals, Jansen became the all-time saves leader in Dodgers history, passing Eric Gagne's previous record of 161. Jansen finished the year with 189 saves. His 632 strikeouts as a reliever also passed Jim Brewer's club record of 604.

Kenley Jansen posted a 1.83 ERA and 0.67 WHIP with 47 saves in 71 appearances for the Dodgers last season. Kirby Lee/USA TODAY Sports

Using his overpowering cut fastball, Jansen struck out 104 batters and walked just 11 in 68 2/3 innings this past season, posting a major-league-leading 0.67 WHIP. His 9.45 strikeout-to-walk ratio was best in the National League.

Jansen, who was converted from a catcher to a reliever by the Dodgers while still in the minor leagues, was the anchor of the team's bullpen that registered franchise records in both innings pitched (590 2/3) and appearances (607). Both numbers led the major leagues.

ESPN's Doug Padilla contributed to this report.