The Red Sox have reached an agreement with Ryan Dempster on a two-year, $26.5 million, according to a source.

Dempster previously turned down a two-year, $25 million offer from the Red Sox and a two-year, $26 million deal from the Royals, according to the source.