CLEVELAND – Max Scherzer became baseball’s first 17-game winner and the Detroit Tigers posted their 12th straight victory, routing the Cleveland Indians 10-3 Thursday night.

Miguel Cabrera drove in three runs as the AL Central leaders completed a four-game sweep and opened a seven-game lead over the second-place Indians.

Scherzer (17-1) allowed two runs and four hits in seven innings. He helped the Tigers beat Cleveland for the 12th time in their last 13 meetings.

Cleveland’s futility for the series was summed up when Manager Terry Francona let utilityman Ryan Raburn pitch the ninth inning. Raburn retired three straight hitters, striking out Matt Tuiasosopo, in his professional pitching debut and drew a standing ovation.

NATIONAL LEAGUE

PIRATES 5, MARLINS 4: Russell Martin’s pinch-hit single with two outs in the 10th inning lifted host Pittsburgh to its fifth straight win.

Martin delivered his fourth game-ending hit at PNC Park this year for the NL Central leaders.

The Pirates swept the three-game series and improved to 70-44, the best record in the majors. Miami lost its fifth in a row.

Josh Harrison opened the 10th with a single off Steve Ames (0-1) and took second on Clint Barmes’ sacrifice bunt. After Jose Tabata bounced out and Starling Marte was intentionally walked, Martin batted for Jared Hughes (2-2) and grounded a single down the left-field line.

METS 2, ROCKIES 1: Dillon Gee followed Matt Harvey’s first career shutout with an impressive outing of his own, helping host New York beat Colorado and sending the Rockies home after matching the worst road trip in team history.

Gee (8-8) scattered eight hits without yielding a walk in 72/3 innings to win for the first time since July 14. He allowed Corey Dickerson’s homer leading off the fourth inning.

Rookie Wilmer Flores had an RBI groundout and Anthony Recker a sacrifice fly off spot starter Jeff Manship as the Mets completed their first three-game sweep over the Rockies since 2008.

PHILLIES 12, CUBS 1: Ethan Martin earned his first major league win, Cody Asche hit his first home run and host Philadelphia routed Chicago.

Asche’s two-run drive capped a six-run burst in the fourth inning that made it 10-1. He had three hits and fellow rookie Darin Ruf also homered.

GIANTS 4, BREWERS 1: Tim Lincecum pitched another gem, allowing only one hit over eight shutout innings and leading host San Francisco past Milwaukee.

Lincecum, who threw his first career no-hitter on July 13 at San Diego, permitted just a double to Juan Francisco leading off the third inning.

Lincecum (6-11) struck out eight and walked one in eight innings before getting pulled for a pinch-hitter. The two-time NL Cy Young Award winner had been 0-2 in three starts since throwing 148 pitches in his no-hitter.

Brandon Belt hit a three-run homer in the first inning off Donovan Hand (0-4).

DODGERS 5, CARDINALS 1: A.J. Ellis hit a three-run home run and rookie Hyun-Jin Ryu pitched seven stellar innings to help red-hot Los Angeles win at St. Louis.

The Dodgers have won 17 of their last 18 games on the road, with the only loss coming Tuesday to St. Louis in the second game of the four-game set.

Ryu (11-3) allowed one unearned run on five hits while striking out seven and walking no one.