Billy Butler came within a single of hitting for the cycle, and the Kansas City Royals beat Baltimore 8-2 on Thursday night to end the Orioles' five-game winning streak and take the luster off Manny Machado's impressive major league debut.

Butler homered in a four-run first inning, doubled in the third and tripled in the fifth. Needing only a single to become the first Kansas City player to complete the cycle since George Brett in 1990, Butler struck out in the seventh and again the ninth.

He did, however, finish with three RBIs and scored three runs. Butler is 11 for 24 (.458) with three homers and five RBIs in six games against Baltimore this season.

Machado, the third overall pick in the 2010 draft, went 2 for 4 and played flawlessly at third base in his first game above the Double-A level.

New York 4, Detroit 3

DETROIT — Mark Teixeira and Eric Chavez hit solo home runs on consecutive pitches in the eighth inning that put New York ahead, and the Yankees held on to beat the Detroit Tigers 4-3 Thursday.

Yankees manager Joe Girardi was ejected and threw his hat during a demonstrative argument with third base umpire Tim Welke after a fair-or-foul call in the fifth inning.

Rafael Soriano escaped a first-and-third, no-out jam in the ninth for his 27th save in 29 chances.

Cleveland 5, Boston 3

Ubaldo Jimenez struck out a season-high 10 for his first win in more than a month and the Cleveland Indians beat Boston 5-3 on Thursday night, handing the Red Sox their seventh loss in nine games.

Jimenez (9-11) allowed three runs over six innings as Cleveland won its second straight after losing 11 in a row. He had been 0-4 with an 8.41 ERA in five starts since beating Tampa Bay on July 7.

The Indians took a 4-3 lead against Felix Doubront (10-6) with a three-run fifth.

Chris Perez earned his 30th save in 34 chances for Cleveland, which fired pitching coach Scott Radinsky before the game. Perez pitched a perfect ninth after blowing saves Sunday and Tuesday, allowing eight runs over 1 1-3 innings in those two outings.