CLEVELAND (AP) -- With a 2-51 record when trailing after eight innings, things looked bleak for the Cleveland Indians on Sunday.
Two dramatic swings changed that in a 4-3 win over Texas.
Michael Brantley hit a leadoff homer in the 12th inning to touch off a celebration at home plate, but a big moment three innings earlier made that possible.
David Murphy's two-run homer with one out in the ninth off Neftali Feliz tied the game and set the stage for the Indians' seventh win of the season on a game-ending hit.
"Dramatic moments like that are the best things about baseball," Murphy said of his ninth-inning blast. "It's an awesome feeling."
Brantley, a first-time All-Star this season, belted a 3-2 pitch from rookie Phil Klein (0-1) into Texas' bullpen in right field, but gave credit to his teammate.
"Without Murph hitting his home run, I don't get a chance to hit mine," he said.
The win gave the Indians (56-55) a three-game sweep and moved them over .500 for the first time since July 23 as they try to stay in playoff contention.
Murphy, who played for Texas from 2007-13 before signing with the Indians, batted .480 (12-for-25) with seven RBIs in seven games against his former team. He had an RBI double in the second, and was 4-for-4 with two RBIs Friday.
Scott Atchison (5-0), the Indians' seventh pitcher, retired the final batter in the 12th.
Texas has lost six straight on the road and has dropped 19 of 22 away from home. The Rangers (43-68) have the worst record in baseball.
Yu Darvish allowed one in seven innings, but saw an opportunity for his 11th win go down the drain. The All-Star right-hander held the Indians to four hits and struck out eight.
Trevor Bauer gave up three runs in a career-high 7 1/3 innings for Cleveland.
QUITE A DAY
Murphy had several reasons to be happy, including the fact his daughter, Madison, celebrated her seventh birthday. "I love a double anytime, but I was kind of mad at myself because I wanted to hit a home run on her birthday," he said. "It was fun to do that for her. That made it even more special."
ON THE WAY DOWN
Indians right-hander Zach McAllister was assigned to Triple-A Columbus, two days after being designated for assignment and placed on optional waivers. McAllister went 3-6 with a 5.91 ERA in 14 starts for Cleveland. Right-hander Josh Tomlin will be recalled to start Tuesday.
Indians: Designated hitter Nick Swisher was removed from the game in the ninth inning due to a strained right wrist. Swisher, who was wearing a brace after the game, struck out in all three of his plate appearances. Francona said he would be evaluated today.
Indians: RHP Corey Kluber (11-6), coming off his first career complete game shutout, will start the opener of a two-game interleague series against Cincinnati at Progressive Field tonight. RHP Alfredo Simon (12-6) will start for the Reds.
REDS 7, MARLINS 3
MIAMI -- Billy Hamilton scored three times to help the Cincinnati Reds break out of an offensive slump and beat Miami.
Mike Leake (9-9) allowed one run in six innings. He has won all three of his career starts against the Marlins.
Jacob Turner (4-7), starting in place of injured Henderson Alvarez, allowed five runs in four innings.
ASTROS 6, BLUE JAYS 1
HOUSTON -- Scott Feldman worked around eight hits in his first complete game in nearly a year, Chris Carter and Matt Dominguez each had two RBIs and the Houston Astros beat Toronto.
Patrick Henry product Marc Krauss added a leadoff single in the fourth inning and scored a run.
TIGERS 4, ROCKIES 0
DETROIT -- Anibal Sanchez struck out 12, Victor Martinez hit a three-run homer and the Detroit Tigers finished off a weekend sweep of Colorado.
Sanchez (8-5) became the third straight Tigers starter to dominate the Rockies, allowing only two hits in seven innings.
CARDINALS 3, BREWERS 2
ST. LOUIS -- John Lackey won his St. Louis debut when the Cardinals rallied for three runs in the seventh inning, capped by a go-ahead from rookie Oscar Taveras to beat the Milwaukee Brewers 3-2 on Sunday.
Lackey (1-0) was the Cardinals' big catch at the trade deadline that capitalized on Boston's sell-off. The right-hander who won the clinching Game 6 of the World Series against St. Louis last fall held Milwaukee to two runs in seven innings and is 12-7 overall.
NATIONALS 4, PHILLIES 0
WASHINGTON -- Stephen Strasburg struck out 10 while pitching three-hit ball for seven innings, earning his first win in a month as the Washington Nationals beat Philadelphia.
Strasburg (8-9) had been 0-3 in his previous five starts, losing his last three outings. He walked one and didn't permit a runner past second base.
GIANTS 9, METS 0
NEW YORK -- Madison Bumgarner pitched a two-hitter and Hunter Pence homered twice to lead the San Francisco Giants past the New York Mets.
Bumgarner (13-8) beat the Mets again, running his record to 3-0 in five games against them and giving the Giants their third win in 10 games. Brandon Belt and Buster Posey also went deep for the Giants.
PADRES 4, BRAVES 3
SAN DIEGO -- Everth Cabrera singled in the winning run in the 10th inning and the San Diego Padres sent Atlanta to its sixth straight loss.
Will Venable led off the 10th with an infield single against David Hale (3-4) and Alexi Amarista walked. The Braves got a double play on Renee Rivera's sacrifice bunt attempt with Amarista taking second.
CUBS 7, DODGERS 3
LOS ANGELES -- Edwin Jackson pitched six innings for his first victory in six weeks and Chris Coghlan hit a tiebreaking two-run homer as the Chicago Cubs beat the Los Angeles Dodgers.
Jackson (6-11) was 0-4 with a 7.39 ERA in his previous seven starts.
DIAMONDBACKS 3, PIRATES 2
PHOENIX -- Arizona runner Nick Ahmed put his arms up as he slid into second base and deflected a potential double play relay in the 10th inning, and the Diamondbacks beat Pittsburgh.
With runners at the corners and one out, Andy Marte hit a grounder to short,stop Jordy Mercer, who flipped to second baseman Jayson Nix for a forceout.
As Nix threw to first, his toss hit Ahmed and the ball rolled away, allowing Tuffy Gosewich to score the winning run.
ORIOLES 1, MARINERS 0
BALTIMORE -- Chris Tillman pitched seven innings of three-hit ball to outduel Hisashi Iwakuma, Nick Markakis hit his first career leadoff homer and the Baltimore Orioles beat Seattle.
Tillman (8-5) struck out six and walked none to earn his first win since June 27. A second-round draft pick by Seattle in 2006, Tillman is 6-0 in six career starts against the Mariners.
ROYALS 4, ATHLETICS 2
OAKLAND, Calif. -- James Shields pitched eight sharp innings for his first win in nearly a month, and the Kansas City Royals beat Oakland.
Shields (10-6) retired his first 15 batters before Josh Reddick hit a leadoff homer in the sixth. Reddick homered again in the eighth.
ANGELS 7, RAYS 5
ST. PETERSBURG, Fla. -- Mike Trout hit RBI double to key a five-run first inning and the Los Angeles Angels beat Tampa Bay in a game delayed by a power outage at Tropicana Field.
Jered Weaver (12-6) gave up six hits and four walks, but only two runs in six innings. He is 4-0 lifetime at Tampa Bay.
TWINS 16, WHITE SOX 3
CHICAGO -- Rookie Danny Santana had five hits and four RBIs, and the Minnesota Twins scored nine times in the eighth inning of a rain-delayed romp over the Chicago White Sox.
Kyle Gibson (10-8) got the win.
ASTROS 8, BLUE JAYS 2
HOUSTON -- Jon Singleton wound up with an inside-the-park home run after a call was reversed on video replay, Chris Carter and Jason Castro also homered, and the Houston Astros beat the Toronto Blue Jays 8-2 on Saturday night.
Patrick Henry graduate Marc Krauss started in left field for Houston and went 0-for-3.