By The Associated Press

NEW YORK — Mark Teixeira homered and Dustin Moseley pitched well enough to overcome the two home runs he gave up to Miguel Cabrera in the New York Yankees’ testy 9-5 win over the Detroit Tigers on Wednesday night.

Detroit’s Jeremy Bonderman hit Brett Gardner in the leg with his first pitch and one out later, Teixeira made it 2-0.

Gardner’s hard slide into second at the end of Monday’s game took out Carlos Guillen, who went on the disabled list with a bruised knee. With the Yankees leading 9-4, reliever Chad Gaudin hit Cabrera, his first batter, in the back to start the eighth. Tigers manager Jim Leyland came out to argue when Gaudin wasn’t ejected or warned.

After the half-inning, Leyland came out again and was immediately ejected.

Mariners 6, Orioles 5

BALTIMORE — Matt Tuiasosopo extended his unlikely power surge with a three-run homer, and the Seattle Mariners beat the Baltimore Orioles 6-5 Wednesday night for their season-high fourth straight series win.

Tuiasosopo’s drive off Jeremy Guthrie (7-12) in the second inning put Seattle ahead for good. Tuiasosopo, a seldom-used utility player, has two homers and seven RBIs over the last two nights after totaling one homer and two RBIs in his first 30 games.

He also prevented the tying run from scoring in the eighth, making a diving catch of a two-out liner to left by Matt Wieters with Adam Jones running from first base on the pitch.

David Pauley (2-4) allowed four runs and five hits in six-plus innings to win his second straight start.

Athletics 6, Blue Jays 2

OAKLAND, Calif. — Dallas Braden pitched three-hit ball for seven innings, Jack Cust drove in the go-ahead run and the Oakland Athletics ended a four-game losing streak by beating the Toronto Blue Jays 6-2 Tuesday night.

Coco Crisp had three hits and an RBI, Daric Barton and Mark Ellis each drove in a run and the A’s won for the 11th time in their last 16 home games.

Braden (8-8) allowed two runs, one earned, and improved to 4-1 since coming off the disabled list July 20. He walked two and struck out five.

Rays 8, Rangers 6

ST. PETERSBURG, Fla. — Evan Longoria hit a solo homer and drove in four runs to help the Tampa Bay Rays beat the Texas Rangers 8-6 on Wednesday, completing a sweep of the three-game series between potential playoff opponents.

Longoria also had a pair of RBI doubles and a sacrifice fly. The All-Star third baseman had three RBIs in Tampa Bay’s 10-1 victory Tuesday night.

James Shields (11-11) allowed two runs and four hits over seven innings, stopping a personal two-game slide. Rafael Soriano got two outs for his 35th save.

Tampa Bay, which began the day tied with the New York Yankees for the AL East lead, has won five straight overall.

Braves 3, Nationals 2

ATLANTA — Atlanta did it again in its final at-bat, beating Washington 3-2 on Jason Heyward’s run-scoring single in the ninth inning Wednesday night.

The Braves won for the 21st time in their final swing, which leads the majors. They also improved baseball’s best home record to 44-16, maintaining their 2½-game lead on Philadelphia in the NL East.

With one out, Rick Ankiel fisted a bloop single just over the outstretched glove of second baseman Adam Kennedy. Sean Burnett (0-7) was replaced by Tyler Clippard, who walked David Ross. Clippard struck out Omar Infante, then Heyward hit a liner to left-center.

Phillies 8, Giants 2

PHILADELPHIA — Jimmy Rollins hit a three-run homer and Joe Blanton pitched neatly into the seventh for Philadelphia.

The two-time NL champions have won 20 of 25 and moved two games ahead of the Giants in the wild-card race. The Phillies remained 2½ games behind Atlanta in the East.

Andres Torres and Pat Burrell hit solo homers for the Giants, who have lost three straight. Blanton (5-6) allowed two runs and eight hits, striking out seven in 6 1-3 innings.

Brewers 3, Cardinals 2

ST. LOUIS — Randy Wolf pitched three-hit ball into the ninth inning and Milwaukee handed 17-game winner Adam Wainwright his first home loss of the season.

Trevor Hoffman struck out Brendan Ryan with the bases loaded to earn his 598th career save. Hoffman came in after the Cardinals pushed across a pair of runs in the ninth.

Rookie Lorenzo Cain had two hits, scored twice and drove in a run. He also had a key steal to set Milwaukee’s first run in the fifth.After sweeping the mini two-game series, the Brewers are 18-9 at Busch Stadium the last three seasons. The Cardinals have lost four straight to drop out of the top spot in the NL Central.

Wainwright (17-7) gave up three runs and seven hits in seven innings, but missed a chance to become the majors’ first 18-game winner. He dropped to 11-1 with a 1.42 ERA in 13 home starts this season.

Padres 5, Cubs 1

CHICAGO — Matt Stairs, taking advantage of a rare outfield start, hit a two-run double and Adrian Gonzalez homered for streaking San Diego.

The Cubs announced after the game that they had traded first baseman Derrek Lee to the Atlanta Braves for three minor leaguers.

Clayton Richard allowed one run and seven hits in 6 2-3 innings for the Padres, who have outscored opponents 53-20 while winning nine of their last 10 games. San Diego (72-47) has the NL’s best record and is 25 games over .500 for the first time since its pennant-winning 1998 season.

The Cubs (50-71) lost their sixth straight home game and are 4-17 overall since July 27. The announced attendance at Wrigley Field was a season-low 33,267.

Marlins 3, Pirates 2

PITTSBURGH — Josh Johnson shook off a five-game winless streak and withstood two solo home runs over eight innings for Florida.

Dan Uggla hit his 28th homer and Cody Ross and Ronny Paulino both doubled and scored to support Johnson (11-5), who hadn’t won since July 17. Johnson was coming off his worst start in three years, giving up six runs and 10 hits in 3 2-3 innings during a 7-2 loss to Cincinnati on Friday.

Ryan Doumit homered in the second, his second since June 29, and Andrew McCutchen hit his 11th with two outs in the eighth, but the Pirates still dropped their ninth in 10 games.

With a 40-80 record, they are two losses away from a record-extending 18th consecutive losing season. Johnson struck out six, walked none and gave up seven hits.

Only subscribers are eligible to post comments. Please subscribe or to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.