NEW YORK – Pinch-hitter Justin Maxwell homered deep into the left-field seats leading off the 12th inning, and the Kansas City Royals overcame a late blown lead and got back to their winning ways with a 4-3 victory over the New York Mets on Saturday.

Kansas City, which had a nine-game winning streak snapped Friday night with a loss in the 11th, improved to 8-2 in extra innings.

Maxwell, acquired Wednesday in a trade with Houston, hit his fifth career pinch homer.

RAYS 2, GIANTS 1: Wil Myers had an RBI single in the bottom of the 10th, giving Tampa Bay an interleague win at St. Petersburg, Fla.

Tampa Bay’s David Price gave up one run, five hits and struck out five in nine innings, but did not get the decision.

INDIANS 4, MARLINS 3: Michael Bourn had three of Cleveland’s six stolen bases and scored three times as the Indians earned their ninth victory in the past 10 games with a win at Miami.

YANKEES 3, PADRES 0: Curtis Granderson hit a two-run home run, his first since coming off the disabled list, and Ivan Nova (5-4) dominated the Padres through seven impressive innings at San Diego.

AMERICAN LEAGUE

ATHLETICS 4, RANGERS 2: Yoenis Cespedes hit a two-run home run to help host Oakland end Texas’ five-game winning streak.

Matt Garza (1-1 in the AL, 7-2 overall) lost for the first time since June 11 and the Rangers lost ground to the AL West Division-leading A’s for the first time in nearly a week, falling 31/2 games back.

Jarrod Parker (7-6) gave up two runs on six hits over six innings.

MARINERS 8, ORIOLES 4: Michael Saunders homered twice and drove in five runs, and Erasmo Ramirez (3-0) retired 18 of the first 20 batters he faced as visiting Seattle ended a four-game losing streak.

TIGERS 3, WHITE SOX 0: Max Scherzer (16-1) took a shutout into the eighth at Detroit before being pulled, as the right-hander became baseball’s first 16-game winner.

TWINS 6, ASTROS 4: Ryan Doumit hit the go-ahead single in the seventh inning and Minnesota’s bullpen pitched six scoreless innings as the Twins won at Minneapolis.

NATIONAL LEAGUE

DODGERS 3, CUBS 0: Chris Capuano (4-6) scattered six hits over 61/3 innings and visiting Los Angeles set a team record with a 13th straight win on the road.

The Dodgers eclipsed the 1924 mark set by the Brooklyn Robins.

BRAVES 5, PHILLIES 4: Dan Uggla had a tiebreaking RBI grounder in the 12th, the Atlanta bullpen pitched 52/3 scoreless innings and the visiting Braves beat the slumping Phillies for their ninth straight win.

NATIONALS 3, BREWERS 0: Dan Haren (6-11) pitched seven strong innings, and Adam LaRoche and Wilson Ramos hit home runs to lead Washington to a win at Milwaukee.

REDS 8, CARDINALS 3: Devin Mesoraco drove in three runs with a pair of homers and Cincinnati finally broke out against a St. Louis team that has held it down all season.

PIRATES 5, ROCKIES 2: Francisco Liriano (12-4) continued his recent dominance with seven strong innings, and Jose Tabata homered and drove in two runs to lead Pittsburgh to a win at home.