ST. PETERSBURG, Fla. – Madison Bumgarner struck out 11 in seven innings, Brandon Crawford hit a two-run homer and the San Francisco Giants beat the Tampa Bay Rays 4-1 on Friday night.

This was the first time since 2004 that the teams met. The last-place Giants won their third in a row overall.

Tampa Bay has lost two in a row, including its first game in August. The Rays went 21-5 in July.

Bumgarner (11-7) gave up one run, working around seven hits and three walks. Sergio Romo got two outs for his 26th save.

Brandon Belt had three hits, including a solo homer, for the Giants.

Chris Archer (6-4) allowed four runs and seven hits in seven innings. He had permitted just two runs — one earned — over 31 innings in winning his previous four starts.

ORIOLES 11, MARINERS 8: Chris Davis hit his major league-leading 40th home run and Nate McLouth contributed his first career grand slam to a power display that carried host Baltimore past Seattle.

Ryan Flaherty also homered and had a career-high three hits for the Orioles, who never trailed but had to withstand four homers by Seattle.

TIGERS 2, WHITE SOX 1: Doug Fister pitched eight impressive innings, Austin Jackson homered and Jose Iglesias drove in a run in his Detroit debut to lead the host Tigers over the White Sox.

Chicago has lost eight straight.

AL Central-leading Detroit has won 10 of 11.

NATIONAL LEAGUE

DODGERS 6, CUBS 2: Mark Ellis extended his hitting streak to 13 games before both he and Manager Don Mattingly were ejected, and Los Angeles matched an 89-year-old club record with its 12th straight road victory, winning in Chicago.

Ellis doubled and scored in the third before being tossed when he and Mattingly argued a called third strike in the fourth inning, but that didn’t stop the Dodgers from improving to 12-2 since the All-Star break.

Nick Punto added two hits and drove in two runs. Adrian Gonzalez and Yasiel Puig each added a pair of hits and scored a run as the Dodgers chased All-Star Travis Wood (7-8).

ROCKIES 4, PIRATES 2: Jhoulys Chacin allowed one run on six hits over eight innings and Colorado snapped a four-game losing streak, winning at Pittsburgh.

Chacin (10-5), who has won seven of his past nine decisions, stayed in the game after taking a sharp line drive off the bat of Starling Marte in the fifth inning.

Colorado’s Troy Tulowitzki had a solo homer and an RBI single, and Todd Helton had a two-run single 17 years to the day after making his major-league debut in the same city.

Pirates rookie Gerrit Cole (5-5) needed 102 pitches to make it through 51/3 innings, allowing three runs on three hits and two walks with six strikeouts.

CARDINALS 13, REDS 3: David Freese set the tone with a bases-loaded double in the first inning, and Daniel Descalso hit two of the Cardinals’ three homers as St. Louis won at Cincinnati.

The Cardinals have emerged from a deep hitting slump by scoring 13 runs in each of their last two games. It’s the first time this season they’ve had double-digit run totals in consecutive games.

BRAVES 6, PHILLIES 4: Brian McCann and Chris Johnson hit consecutive homers in a five-run fifth inning to lead Atlanta to its eighth straight win, at Philadelphia.

INTERLEAGUE

MARLINS 10, INDIANS 0: Rookie right-hander Jose Fernandez pitched eight innings and struck out 14, the most by an NL pitcher this season, to help host Miami end Cleveland’s eight-game win streak. Miami’s All-Star became the first major league pitcher to strike out at least 13 in consecutive games since Randy Johnson in 2004. He’s the first rookie to do so since Kerry Wood in 1998.