CLEVELAND — Francisco Lindor pushed an RBI single through a drawn-in infield with one out in the ninth inning Tuesday night, and the Cleveland Indians rallied for three runs in their final at-bat to stun the Washington Nationals 7-6 in a matchup of two first-place teams with sights on October.

Down two runs and three outs from their losing streak reaching a season-high four games, the Indians rallied against Nationals closer Jonathan Papelbon (2-4), who didn’t get an out before he was pulled by Manager Dusty Baker.

With the bases loaded, Lindor fisted his base hit into right field and danced his way up the first-base line as the Indians celebrated an improbable victory.

Bryan Shaw (2-4) got two outs in the ninth and picked up the win as Cleveland won its first home game since July 10.

ROCKIES 6, ORIOLES 3: Carlos Gonzalez and Trevor Story had two RBI apiece in a four-run third inning, and visiting Colorado beat Chris Tillman to end Baltimore’s five-game winning streak.

Seeking to become the first 15-game winner in the majors, Tillman (14-3) gave up six runs and nine hits in five innings. He allowed a combined four runs over 28 innings in his previous four starts.

WHITE SOX 3, CUBS 0: James Shields allowed four singles in 72/3 innings and Adam Eaton homered as the White Sox beat the visiting Cubs at Chicago.

Shields (5-12) struck out five and continued an impressive turnaround from a terrible first three starts after being acquired from San Diego last month. Nate Jones finished the eighth and David Robertson worked the ninth for his 24th save in the White Sox’s fourth straight win.

MARINERS 7, PIRATES 4: Felix Hernandez settled down after a shaky start and picked up his first victory in more than two months as Seattle won at Pittsburgh.

Hernandez (5-4) gave up four runs, all in the first two innings, and struck out three in six innings in his first win since May 21. Steve Cishek worked a perfect ninth for his 24th save.

BRAVES 2, TWINS 0: Lucas Harrell pitched six innings, Adonis Garcia homered and Atlanta won at Minneapolis in a matchup of the worst teams in the majors.

This untimely meeting came nearly 25 years after the Twins beat the Braves in a World Series that’s often been mentioned among the most dramatic in history. The 1991 anniversary celebration was marked by Gene Larkin, who had the winning hit in the 11th inning of Game 7, throwing the first pitch.

BLUE JAYS 7, PADRES 6: Devon Travis scored the winning run on a wild pitch, and Toronto rallied for three runs in the 12th inning at home. Matt Kemp of the Padres hit a two-run homer in the top of the 12th.

NATIONAL LEAGUE

METS, CARDINALS SPLIT: Bartolo Colon pitched three-hit ball for seven sharp innings and New York overcame another home run by Jedd Gyorko to win at home for a doubleheader split.

Gyorko homered in both ends and has connected seven times in nine games. His two-run shot helped St. Louis win the opener, 3-2.

MARLINS 5, PHILLIES 0: Tom Koehler pitched six innings of three-hit ball, helping Miami win at home.

AMERICAN LEAGUE

YANKEES 6, ASTROS 3: CC Sabathia allowed two runs in 62/3 innings to help New York at Houston.

ANGELS 13, ROYALS 0: Tyler Skaggs pitched seven innings in his first big league start in two years and Yunel Escobar went 5 for 5 to help Los Angeles win at Kansas City, Missouri.