CLEVELAND (AP) -- The game had many twists and dragged on well into the night before the Kansas City Royals finally broke their losing streak.
Manager Ned Yost was willing to play until the sun came up if it meant ending the six-game skid.
''I don't care as long as we got it,'' Royals manager Ned Yost said after Saturday night's 7-6 win over Cleveland in 14 innings.
Tony Abreu's two-out single scored Mike Moustakas with the go-ahead run as Kansas City snapped its longest losing streak since a 12-game skid from April 11-24. The Royals had played .500 ball between the two streaks.
''It was weighing on me,'' Yost said. ''I don't like going through that, especially late in the season.''
Both teams used nine pitchers in the game, which lasted 4 hours and 52 minutes.
''We did a good job of outlasting them,'' Yost said.
The Royals have matched last season's win total when they finished 71-91.
Scott Maine (2-3) walked Moustakas on four pitches to start the inning. Jeff Francoeur and Brayan Pena struck out, but Maine's wild pitch moved Moustakas into scoring position. Abreu blooped a single to center to score the go-ahead run.
Vin Mazzaro (4-3) pitched two scoreless innings and Kelvin Herrera pitched the 14th for his third save. The Indians loaded the bases with nobody out, but didn't score. Cleveland stranded 20 baserunners.
Ezequiel Carrera reached on a bunt hit and took third on Shin-Soo Choo's single to right. Jason Kipnis walked to load the bases. Carlos Santana's fly ball to left wasn't deep enough to score Carrera. Lonnie Chisenhall sent a line drive to right field. Francoeur raced in and made a waist high catch with Carrera holding third.
Casey Kotchman, who bounced into a double play with runners on first and third to end the 12th, grounded out to end the game.
''Any time you have as many chances as I did to send the other team on a walk-off (win) as I did, it's certainly frustrating,'' he said.
''Herrera just did a phenomenal job,'' Yost said. ''I just kept thinking he's done it before and he can do it again, and darn sure if he didn't.''
Cleveland's bullpen pitched 10 scoreless innings before allowing the winning run.
The Indians won Friday night in interim manager Sandy Alomar Jr.'s first game since replacing Manny Acta, who was fired Thursday. Alomar and Terry Francona are the only known candidates for the job. Francona, who managed Boston to World Series titles in 2004 and 2007, likely won't interview until after the season ends on Wednesday.
''Today was a difficult game, but it was fun,'' Alomar said. ''The guys came back, they fought.''
The loss snapped Cleveland's three-game winning streak. The Indians haven't won four straight since June 18-22.
The Royals were down 1-0, but had a six-run third inning that was highlighted by Francoeur's three-run homer. Billy Butler's RBI single and Moustakas's two-run double also keyed the inning.
Trailing 6-2, the Indians scored twice in the eighth before rallying in the ninth to tie the game off closer Greg Holland. Santana drew a four-pitch walk to start the inning and went to third on Chisenhall's bloop single to left. After Kotchman's sacrifice, pinch-hitter Cord Phelps struck out on three pitches.
Asdrubal Cabrera, who didn't start while resting wrist and back injuries, worked the count to 3-2 before dropping a double into right-center to tie the game.
NOTES: Royals 1B Eric Hosmer said he has a small tear in his right rotator cuff. He was injured diving for a ground ball in Thursday's game against Detroit and an MRI on Friday showed the tear. Hosmer said he will be re-evaluated when the team returns to Kansas City on Monday. ... SS Alcides Escobar was out of the lineup for the second straight game for Kansas City. He injured his right shoulder diving for a ball on Thursday. ... Alomar said Cabrera and Brantley will be in the lineup before the season ends. Cabrera has been in and out of the lineup the last two weeks while Brantley hasn't started for the last five games. ... Alomar said RHP Roberto Hernandez (sprained ankle) could pitch out of the bullpen in the last four games.