Miller, 38, pitched for three teams last season, including Theo Epstein’s Boston Red Sox at the end. Epstein is now with the Cubs and will pay Miller a reported $800,000, according to ESPN.

Epstein has signed a mix of veteran pitchers and traded for several young ones. One of those trades sent bullpen lefty Sean Marshall to the Cincinnati Reds and the signing of Miller could help offset the loss.

Miller is one of 21 non-roster players who will be invited to spring training. Nine of them will be pitchers.

The Cubs will be the ninth major-league team for Miller, who has become a situational left-hander in recent years.