later that season. On September 20, he pitched the 9th inning against the Houston Astros and was touched for three hits, including a two-run home run by J. R. Towles. It was Towles' first career major league home run. On June 13, 2008, Miles would make his third pitching appearance, this time against the Philadelphia Phillies. With the Phillies leading, 20–2, Miles came in to finish off the game with a perfect 9th inning while striking out Jimmy Rollins. On August 31, a foul ball hit by Miles struck teammate Juan Encarnación in the face while he was in the on-deck circle, and effectively ended Encarnación's career. Encarnación suffered multiple fractures to his left eye socket and an injury to his left eye and missed the remainder of the 2007 season. The injury was regarded by the Cardinals' head team physician, Dr. George Paletta, to be the worst injury he'd ever seen to the face on a baseball player. Paletta said the eye socket was essentially crushed on impact, comparing the injured area to the disintegration of an egg shell or ice cream cone, and that the optic nerve had sustained severe trauma. Paletta also said the eyeball had not been ruptured. Miles re-signed with the Cardinals for a one-year deal on January 4, 2008, after a non-tender and short free-agency status in December 2007. On July 20, 2008, Miles got his first walk-off hit, a one-out grand slam to beat the San Diego Padres, 9–5. Chicago Cubs On December 31, 2008, Miles signed a two-year deal with the Chicago Cubs. He was the primary backup infielder to second baseman Mike Fontenot, shortstop Ryan Theriot and third baseman Aramis Ramírez, after losing the starting job at second to Fontenot during Spring Training. Oakland/Cincinnati/St. Louis On December 3, 2009, Miles was traded along with Jake Fox to the Oakland Athletics for Jeff Gray and two minor league prospects. On February 1, 2010, he was again traded along with a player to be named later to the Cincinnati Reds for Willy Taveras and Adam Rosales. He was released on April 14, after being designated for assignment at the end of spring training. On April 27, 2010, Miles signed a minor league deal to return to the Cardinals. After a brief AAA stop, he rejoined the major league roster. Los Angeles Dodgers On February 7, 2011, Miles signed a minor league deal with