The Nationals have agreed to a two-year, $28 million deal with Rafael Soriano, according to a source.

The contract contains a third-year vesting option worth $14 million.

The option reportedly rests on whether the right-hander finishes 120 games combined over 2013 and 2014.