There’s a winner in the bidding for pitcher Masahiro Tanaka: It’s the New York Yankees.

The Yankees and the 25-year-old star reached agreement on a seven-year deal worth $155 million, according to ESPN’s Buster Olney. Tanaka was 24-0 with a 1.27 ERA for the Rakuten Golden Eagles in the Japanese League last season and, in addition to his contract, his services will cost the Yankees another $20 million. That’s the posting fee they must pay Rakuten because Tanaka had two years remaining on his contract.

Since 2007, Tanaka is 99-35 with a 2.30 ERA and 1,238 strikeouts in 175 games. He has pitched 53 complete games.

Ahead of the 5 p.m. ET deadline for signing Tanaka, four other teams reportedly were interested in the pitcher, but the Yankees beat out the Los Angeles Dodgers, Chicago Cubs, Chicago White Sox and Arizona Diamondbacks.

It’s probably the second-most surprising Yankee news of the week, after C.C. Sabathia unveiled his newly svelt physique.