PITTSBURGH (AP) Pittsburgh Pirates infielder David Freese has signed a two-year, $11 million contract that takes him through the 2018 season.

Under the deal announced Monday, Freese will make $6.25 million in 2017 and $4.25 million in 2018. There's a $6 million club option for 2019 or a $500,000 buyout.

Freese said: ''It's always good to be wanted and the Pirates made that clear when they offered the extension.''

More from FoxSports

The 33-year-old signed a one-year, $3 million contract as a free agent in March and is hitting .276 with 12 home runs and 49 RBIs in 107 games. The eight-year veteran has made 58 starts at third base and 26 at first base.

Freese could have become eligible for free agency again after the World Series.

Freese broke into the major leagues in 2009 with his hometown St. Louis Cardinals and was the NLCS and World Series MVP in 2011. He was traded to the Los Angeles Angels after the 2013 season and played with them for two seasons.