Left-hander Jordan Montgomery and the Arizona Diamondbacks are in agreement on a one-year, $25 million contract that includes a vesting player option for a second season, sources told ESPN on Tuesday night, bolstering the National League champions’ rotation with the postseason standout from the team that beat them in the World Series.

The deal, which is pending a physical, ends Montgomery’s free agency two days before Opening Day and could include a second-year player option at $20 million if Montgomery makes 10 starts. The option would be for $22.5 million if Montgomery reaches 18 starts and $25 million at 23 starts, sources said.

After entering the winter with hopes of a nine-figure deal, the 31-year-old Montgomery signed for a fraction of that, a coup for a Diamondbacks team whose big offseason acquisition, Eduardo Rodriguez, hit the injured list this week with a lat strain. Montgomery will join a rotation that includes top starters Zac Gallen and Merrill Kelly, along with 25-year-old Brandon Pfaadt.

Montgomery’s market figured to be robust after a tremendous season in which he posted a career-best 3.20 ERA over 188.2 innings, the final 67.2 of which came with the Texas Rangers following a deadline trade from St. Louis. He continued his excellence in the postseason, tossing seven shutout innings in the wild-card round against Tampa Bay and chasing that with 14 brilliant innings in the American League Championship Series.

Instead, Montgomery’s fortunes mirrored those of three other top-end clients of his agent, Scott Boras. Outfielder/first baseman Cody Bellinger, who sought in excess of $150 million, signed with the Chicago Cubs for $80 million over three years. National League Cy Young winner Blake Snell received a two-year, $62 million deal from San Francisco after targeting $150 million-plus. He joined third baseman Matt Chapman, who wanted nine figures but got three years and $54 million, in San Francisco.