WASHINGTON — The Nationals have agreed to a $7 million, two-year contract with outfielder Howie Kendrick, a deal subject to a successful physical.

Agent Pat Murphy confirmed the deal to The Associated Press on Monday. USA Today was first to report the deal.

Kendrick, 34, hit .293 with seven home runs and RBIs in 52 games with Washington after he was acquired from Philadelphia. The versatile right-handed hitter got just three plate appearances off the bench in the playoffs.

In 12 major league seasons with the Los Angeles Angels, Dodgers, Phillies and Nationals, Kendrick is a .291 hitter with a .755 OPS. He's now primarily an outfielder for Washington after playing left field, second base, first base and other positions throughout his career.