a 4.34 ERA with 183 strikeouts and a win–loss record of 8–12. Boston Red Sox On December 12, 2014, the Diamondbacks traded Miley to the Boston Red Sox in exchange for pitchers Rubby De La Rosa and Allen Webster and infielder Raymel Flores. On February 5, 2015, Miley and the Red Sox agreed on a three-year $19.25 million contract extension. On April 21, 2015, Miley won his first game with the Red Sox, throwing shutout innings versus the Tampa Bay Rays. For the season, Miley pitched to a 4.46 ERA in 32 starts, compiling an 11–11 record. Seattle Mariners On December 7, 2015, the Red Sox traded Miley and Jonathan Aro to the Seattle Mariners for Roenis Elías and Carson Smith. Miley struggled during his stint with Seattle, pitching to a 4.98 ERA and a 7–8 record. In his last start for the team, he pitched seven scoreless innings against the Cubs. Baltimore Orioles On July 31, 2016, the Mariners traded Miley to the Baltimore Orioles for Ariel Miranda. In August, he made six starts, pitching to a 7.14 ERA in 29 innings and had a 1–3 record. The Orioles went 2–4 in his starts. On September 18, Miley pitched four scoreless innings against the Tampa Bay Rays, before being pulled with a back injury. He returned his next start, taking a shutout into the 9th inning against his former team the Diamondbacks. He ended pitching 8 innings before allowing an RBI double. He struck out a career-high 11 batters in his best start in an Orioles uniform. Overall, Miley finished 2–5 in 11 starts with an ERA of 6.17 for Baltimore. The following season, Miley was tabbed as the #4 starter in the rotation. He endured his worst season of his career, setting career worsts in ERA for a full season (5.61), losses (15), home runs allowed (25) and walks (93). He also pitched in a career low innings pitched. On July 30, 2017, Miley gave up Adrián Beltré's 3,000th career hit. On November 3, 2017, the Orioles declined Miley's 2018 option. Milwaukee Brewers On February 14, 2018, Miley signed a minor league deal with the Milwaukee Brewers. He began the season in the Minors but was called up a couple of weeks later. He pitched in two starts before landing on the 60 day disabled list with an oblique injury. He was activated off the disabled list on