Ankiel was a pitcher with the Cardinals from 1999 until 2001, when he found himself unable to throw strikes consistently. After trying to regain his pitching form in the minor leagues and briefly returning to the majors in 2004, he switched to the outfield in early 2005. For two and a half years, he honed his skills as a hitter and fielder in the Cardinals' minor-league system. He returned to the Cardinals on August 9, 2007. As a Cardinal until 2009, Ankiel hit 47 home runs as an outfielder and two as a pitcher. After the 2009 season, Ankiel became a free agent. Subsequently, he was signed by the Royals and later was traded to the Braves.