Boston Red Sox's pitcher Joe Kelly reacts after ending the eighth inning in Game 5 of the World Series baseball game against the Los Angeles Dodgers on Sunday, Oct. 28, 2018, in Los Angeles. Credit: David J. Phillip | AP

LAS VEGAS — A person familiar with the negotiations tells The Associated Press that reliever Joe Kelly has agreed to a $25 million, three-year contract with the Los Angeles Dodgers.

The person spoke on condition of anonymity Thursday because the deal had not yet been announced.

A 30-year-old right-hander who was born in Anaheim, California, Kelly was 4-2 with a 4.39 ERA and two saves in 73 games this year for the World Series champion Boston Red Sox. Kelly pitched in all five World Series games this year and did not allow a run, striking out 10 in six innings. He gave up one earned run in nine postseason appearances with 13 strikeouts and no walks.

According to the tracking service Brooks Baseball, his fastball averaged 98.7 mph this year.

Boston acquired him from St. Louis in July 2014.