The Chicago Cubs' search for a manager will steer in another direction after the New York Yankees announced Wednesday in a tweet that Joe Girardi agreed to a four-year contract through 2017.

Girardi a former Cubs player was the focus of the Cubs' pursuit after firing Dale Sveum on Sept. 30. They will now place their focus on a group of candidates that includes former major league managers Manny Acta and A.J. Hinch and San Diego Padres bench coach Rick Renteria.

Girardi 48 was attractive to the Cubs because of his seven years of managerial experience that includes a World Series title as well as three American League East titles and his popularity as a player and his roots as a Peoria native and Northwestern graduate.

The Cubs' search could last through early November as President Theo Epstein said last week he is looking for a candidate with major league managerial experience and or a strong reputation in leadership and working with the development of young players.

The Cubs according to a source familiar with their search were willing to pay Girardi more than what the Yankees were going to offer but Girardi wasn't allowed to speak directly to them according to multiple reports.