PITTSBURGH — Pirates infielder David Freese has signed a two-year contract extension that takes him through the 2018 season.

The deal announced Monday includes a club option for 2019. Terms of the extension were not immediately available.

advertisement | advertise on newsday

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

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 conclusion of 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 then was traded to the Los Angeles Angels after the 2013 season and play with them for two seasons.