New York Mets left-hander Jon Niese has agreed to a five-year, $25.5 million deal with two team options that can raise the value to $46 million, according to two sources.

The completion of the contract is pending a physical. Niese would have been under the team's control for another four seasons before the deal.