Aaron Judge answered baseball’s burning offseason question Wednesday, agreeing to a nine-year, $360 million contract to remain with the New York Yankees, sources confirmed to ESPN.

Judge, 30, hit free agency after one of the greatest seasons in baseball history, hitting an American League-record 62 homers to break the mark set by Roger Maris in 1961. Judge earned his first MVP award while hitting .311/.425/.686 with an AL-leading 131 RBIs.

Judge’s historic season came after the outfielder failed to reach a contract extension with the Yankees ahead of Opening Day, with general manager Brian Cashman publicly revealing that the team’s final extension offer was seven years, $213.5 million.

After the season, team owner Hal Steinbrenner said he wanted Judge to be a Yankee for life and met with the slugger in Tampa, Florida, to talk about a contract.

During baseball’s winter meetings in San Diego, Cashman, who signed a four-year extension with the Yankees, said the team had prioritized re-signing Judge but would not put a timetable on his decision.

“We’d love to have our player back,” Cashman said Monday. “We would love to continue to call him our player every step of the way as he follows what looks like — as long as nothing happens — a career path that will lead him to Cooperstown. I would like him to be in pinstripes every step of the way.”