The Phillies have agreed to sign John Lannan, reports Jim Salisbury of CSNPhilly.com (on Twitter), Lannan, 28, was non-tendered by the Nationals.

The agreement is pending a physical and Jon Heyman of CBS says it's a 1-year, $2.5 million guaranteed deal that he could make additional $2.5 million in performance bonuses that could get him $5 million total.

The Phillies are expected to let him compete for the final spot in their rotation in spring training.

Lannan spent the majority of 2012 with the Nationals' Triple-A affiliate, but he holds a career 4.01 ERA over parts of six seasons. In his six big league seasons, Lannan is 42-52 all with the Nationlas and went 4-1 with a 4.13 ERA in six starts at the major league level in 2012.

Lannan career at Citizens Bank Park has been a rocky one with a 3-13 record and 5.53 ERA .  In 8 career starts in Philly: 2-5, 6.49 ERA, 1.942 WHIP.

Lannan is a familar name with Phillies fans, back in 2007, Lannan hit Chase Utley and Ryan Howard with pitches during his major league debut - Utley left the game with a broken hand.