AP sources: Locke, Marlins agree to $3,025,000, 1-year deal

FILE - In this July 1, 2016, file photo, Pittsburgh Pirates pitcher Jeff Locke works against the Oakland Athletics in the first inning of a baseball game, in Oakland, Calif. Two people familiar with the negotiations say left-hander Jeff Locke has agreed to a one-year contract with the Miami Marlins worth $3,025,000. The people spoke on condition of anonymity Wednesday, Dec. 7, 2016, because the agreement was subject to a physical and had not been announced.(AP Photo/Ben Margot, File)
Ben Margot/AP

OXON HILL, Md. (AP) Two people familiar with the negotiations say left-hander Jeff Locke has agreed to a one-year contract with the Miami Marlins worth $3,025,000.

The people spoke on condition of anonymity Wednesday because the agreement was subject to a physical and had not been announced.

The 29-year-old Locke had spent his entire big league career with Pittsburgh and was 9-8 with a 5.44 ERA this year in 19 starts and 11 relief appearances, his highest ERA since 2012.

His best season was 2013, when he went 10-7 with a 3.52 ERA in 30 starts, earning a spot on the NL All-Star roster.