Andy Haines, the New Orleans Zephyrs manager the past two seasons, has accepted the position as the Chicago Cubs’ minor-league hitting instructor, a source close to Haines told The Advocate on Tuesday.

Haines will supervise eight hitting coaches in Chicago’s system.

The Miami Marlins are the major-league parents of the Triple-A Zephyrs. Haines, 38, spent eight years in the organization, managing the Zephyrs to records of 70-74 and 58-86. In his new job, he replaces Anthony Iapoce, who was hired by the Texas Rangers on Nov. 5.

Haines was in the second year of a two-year contract to manage the Zephyrs. The Marlins hired Marc Delpiano, who was the Pittsburgh Pirates’ special assistant to the general manager, as their new vice president of player development to oversee its minor league operations. Delpiano, the source said, told Haines he would be brought back to manage the Zephyrs.

The Zephyrs batted 15th in the 16-team Pacific Coast League last season, one in which a high number of injuries had a trickle-down effect all the way to Single-A. That came a year after there were an unusual number of call-ups to the Marlins.

Although Haines has managed, for the most part, during his tenure in the Marlins organization, his first job in the pros was as hitting instructor of Miami’s Rookie League Gulf Coast Marlins in 2008.