BOSTON (AP) Nathan Eovaldi's marathon relief performance in Game 3 of the World Series is a moment that will resonate in Red Sox history.

Boston rewarded him with a $68 million, four-year contract.

"We're very happy to have Nathan back with us," Red Sox president of baseball operations Dave Dombrowski said in a statement as the deal was announced Thursday. "He did a tremendous job for us last season, playing a significant role in helping us win the division and the World Series. His performance in the postseason was outstanding, both as a starting pitcher and as a reliever."

A 28-year-old right-hander who has had a pair of Tommy John surgeries, Eovaldi was acquired by Boston from Tampa Bay on July 25. He went 3-3 with a 3.33 ERA down the stretch. He made four starts against the Yankees, going 2-0 with a 0.39 ERA, and beat the New York in Game 3 of the AL Division Series, when he gave up one run in seven innings.

In six postseason appearances, including two starts, Eovaldi went 2-1 with a 1.61 ERA, a .185 opponent's batting average, 16 strikeouts, and three walks

Eovaldi pitched one inning of relief in each of the first two games of the World Series against the Los Angeles Dodgers. He entered Game 3 in the 12th inning and threw 97 pitches over six-plus innings, preventing the bullpen from enduring additional stress.

Boston lost the game when Eovaldi surrendered an 18th-inning home run to Max Muncy, but his performance inspired his teammates. Manager Alex Cora credited Eovaldi's effort with being one of the catalysts that helped Boston win its fourth World Series title in 15 years.

At the premiere of the Red Sox's 2018 season highlight video, Eovaldi got the biggest cheers when his name was mentioned, with the crowd chanting "Bring him back!"

"Nobody's going to remember who won that game. Everybody's going to remember Nate Eovaldi," Cora said.

Eovaldi had Tommy John surgery in 2007 when he was a junior in high school and his second in August 2016 while with the Yankees. He was let go by New York after the season and signed with Tampa Bay, a deal that guaranteed $2 million in 2017 and included a $2 million option for 2018. He had arthroscopic surgery late in spring training to remove loose bodies in his pitching elbow and did not make his season debut until May 30 - his first major league game since Aug. 10, 2016.