After being released by the Phillies earlier this week, Aaron Cook is coming home.

According to Patrick Saunders of the Denver Post, Cook has agreed to a minor league deal with the Rockies. He’ll begin the season with Triple-A Colorado Springs, but is hopeful of getting another chance in the majors soon. Given the state of the Rockies’ pitching staff, he’s probably in a pretty good spot.

“I know I can still compete in the big leagues, I have no doubts,” he said. “I threw really well in spring training and my arm feels really good.”

Cook was originally drafted by the Rockies in 1997 and spent the first 10 years of his major-league career with the club. In fact, he’s still the team’s all-time leader in wins, starts and innings pitched. The 34-year-old right-hander had a 5.65 ERA and 20/21 K/BB ratio over 94 innings in 18 starts with the Red Sox last season.