PETE CALDERA

Staff Writer, @pcaldera

NATIONAL HARBOR, Md. — Aroldis Chapman and the Yankees have agreed on a five-year, $86 million contract – completing the club’s primary Winter Meetings objective.

It also shatters the previous deal for a reliever.

The agreement reached late Wednesday night will become official once Chapman passes a physical, according to a person with knowledge of the negotiations. The left-handed flamethrower will once again resume his role as the Yankees closer, with Dellin Betances serving as the primary setup man.

"I love the [Yankees] organization, they welcomed me with open arms, and that's why I decided to go back," Chapman told ESPN’s Marly Rivera. "I was hoping I had a chance to go back, and it happened."

Additionally, Chapman’s contract includes language that he can’t be dealt to a California team and cannot be traded – period – over the first three years of his deal.

Chapman told Rivera that he didn’t want to go as far away from his family as California. Also, Chapman said he did “have the opportunity" to sign with the Marlins. He resides in the Miami area, but Chapman told ESPN: “I leaned more towards New York. I like the Bronx more."

Earlier Wednesday, general manager Brian Cashman said he was in conversations with various agents and seeking bullpen alternatives in case Chapman and Kenley Jansen landed elsewhere.

But Chapman remained the Yankees’ No. 1 free agent priority all along; the Yankees – who where competing against the Marlins, Dodgers and Nationals – did not want to spend the draft pick necessary to sign Jansen as compensation. Chapman, traded mid-year by the Yanks, came with no such restrictions.

Traded to the Yankees from Cincinnati last winter for four mid-level prospects, Chapman served a 30-game suspension due to violation of MLB’s new domestic violence policy, stemming from an October 2015, while a member of the Reds.

Forming a dynamic end-game with the Yanks, along with Betances and Andrew Miller, Chapman – who will be 29 in February – pitched to a 2.01 ERA with 20 saves in 31 games for the Yanks.

A week before the trade deadline, Cashman sent him to the Cubs for a package that included top Chicago prospect, infielder Gleyber Torres. Chapman delivered on his promise, pitching to a 1.01 ERA with 16 saves in 28 games and helping the Cubs win the World Series – breaking a 108-year drought.

Overall in 2016, Chapman posted a 1.55 ERA with 90 strikeouts and 18 walks in 59 games.

Chapman maintained on the day he was traded that he’d like to return to the Yankees, if possible. The Cubs went in another direction for a closer, trading for Kansas City’s Wade Davis.

Though he originally stated to ESPN that he sought a six-year deal, Chapman’s pact shattered the four-year, $62 million record for a reliever that Mark Melancon received earlier this week from the Giants. Now, Jansen is expected to come close to Chapman’s deal by re-signing with the Dodgers or going to the Marlins to reunite with his former manager Don Mattingly.