Pete Mackanin has a little more job security entering his first season as a full-time major league manager.
The Phillies announced Friday they have replaced the contract Mackanin signed last fall with a new two-year deal through 2017 that includes a team option for 2018. Mackanin previously had been under contract only for 2016, with a team option for next year.
Mackanin has run the Phillies' dugout since Ryne Sandberg resigned last June 26. He was named full-time manager Sept. 22.
MORE: Phils have some potential breakout stars | Offseason winners and loers
The 64-year-old was a journeyman infielder during his playing days but has long enjoyed a reputation for the way he works with players. He previously served as interim manager of the Pirates in 2005 and the Reds in 2007. He led Cincinnati to a 41-39 record after replacing Jerry Narron but was passed over for the full-time job in favor of Dusty Baker.
The Phillies have finished in last place the last two years, losing 99 games in 2015. They haven't made the playoffs since 2011, the year they capped their run of five consecutive NL East titles.