John Lannan has agreed to a minor league contract with the New York Mets and is expected to compete for the fifth starter's job at spring training.

The 29-year-old left-hander was 3-6 with a 5.33 earned-run average last year in 14 starts for Philadelphia. He was sidelined from April 17 to June 17 by a strained tendon in his left knee and didn't pitch after Aug. 14 because of chronic tendinitis that needed surgery.

Lannan, who was born in Long Beach, N.Y., and attended Chaminade High School in Mineola, has a 45-58 record and a 4.12 ERA in seven big league seasons.

New York also settled its arbitration case with right-hander Dillon Gee, agreeing to a one-year contract worth $3,625,000 US, the midpoint between the $4.05 million he had requested and the $3.2 million he had been offered Friday.

First baseman-outfielder Lucas Duda is the last New York player remaining in arbitration.