SAN DIEGO (AP) Nick Hundley homered and drove in two runs, Tim Stauffer filled in for ailing ace Mat Latos and the NL West-leading San Diego Padres snapped their 10-game losing streak Monday night with a 4-2 win over the Los Angeles Dodgers.

The Padres kept their one-game division lead over the San Francisco Giants, who won at Arizona.

The losing streak was San Diego's longest since a franchise-record 13-game slide in May 1994. The free-fall trimmed 5 1-2 games from the Padres' lead and dropped them from having the best record in the NL to the third-best.

Scott Podsednik homered off Luke Gregerson in the seventh to pull Los Angeles to 3-2. The Dodgers had runners on first and second with two outs before Mike Adams struck out Andre Ethier.

With Stauffer going only four innings in an emergency start, Adams (3-1) got the win by allowing just a walk in 1 2-3 innings while striking out three. Heath Bell pitched a perfect ninth for his 38th save in 41 chances.

Latos was scratched due to stomach flu.

Giants 2, Diamondbacks 0

Nate Schierholtz hit a two-run triple in the 11th inning and San Francisco inched closer in the NL playoff race.

Madison Bumgarner matched zeros with Diamondbacks starter Ian Kennedy into the eighth inning and the Giants pulled it out in the 11th when Schierholtz followed singles by Aubrey Huff and Buster Posey with his triple to center off Aaron Heilman (5-7).

Pirates 3, Braves 1

Neil Walker hit a two-run homer, and Brian Burres limited Atlanta to one run over six innings in his first start in more than three months.

Tommy Hanson (9-11) held the Pirates to an unearned run over five innings. Jose Tabata singled to start the sixth and Walker followed with a drive to center that made it 3-1. Walker's 10th homer extended his hitting streak to 13 games.

Rockies 10, Reds 5

Ubaldo Jimenez won his club-record 18th game despite a wild performance and the surging Rockies rallied from a four-run deficit.

Jimenez (18-6) snapped his four-game losing streak while struggling through a 123-pitch effort. Troy Tulowitzki homered, tripled and drove in three runs for the Rockies, who have won four straight against division leaders. Carlos Gonzalez extended his hitting streak to a career-best 14 games.

Cardinals 8, Brewers 6

Yadier Molina's grand slam capped a six-run eighth inning and St. Louis overcame Corey Hart's two homers to beat Milwaukee.

It was 2-all in the eighth when an error by Brewers third baseman Casey McGehee on a hard grounder by Albert Pujols helped St. Louis break away. Matt Holliday singled home the go-ahead run.

Cubs 5, Astros 4

Geovany Soto hit a tiebreaking homer in the eighth inning and Chicago rallied from a four-run deficit to beat Houston.

Soto's drive was his 17th of the season and it helped the Cubs to their fourth win in five games.

Nationals 13, Mets 3

Nationals rookie Danny Espinosa drove in six runs, hitting a grand slam, a solo homer and getting two other hits to help Washington rout New York for its third straight victory.

Washington scored 13 unanswered runs to post its 60th win of the season, eclipsing the Nationals' total from both 2008 and 2009.

AMERICAN LEAGUE

White Sox 5, Tigers 4

A.J. Pierzynski hit a go-ahead single in the 10th inning and finished with three RBIs and the White Sox gained their seventh straight win.

Chris Sale (1-1) earned his first major league victory, finishing with 2 2-3 innings of scoreless relief.

Twins 5, Royals 4

Jason Kubel hit a go-ahead homer and Jim Thome launched his 585th career home run moments later.

Thome's blast hit off the top of the American flagpole beyond the right-field bleachers at Target Field. He is one homer shy of Frank Robinson for eighth all-time.

Orioles 4, Yankees 3

Brian Matusz won his fourth straight start and Brian Roberts hit a go-ahead single in the seventh inning off struggling A.J. Burnett.

Alex Rodriguez homered and drove in two runs to reach 100 RBIs for the 13th straight season and record 14th time overall. He surpassed Babe Ruth, Lou Gehrig and Jimmie Foxx, who each reached 100 RBIs 13 times.

Red Sox 12, Rays 5

Ryan Kalish hit a grand slam, David Ortiz had a two-run shot and Jon Lester pitched six solid innings to lead the Red Sox.

Adrian Beltre added a solo homer for the Red Sox. Lester (16-8) gave up two runs and four hits while striking out 10 for his fifth win in six decisions.

Blue Jays 7, Rangers 2

Vernon Wells hit a three-run homer, Aaron Hill had a two-run shot and Toronto handed the reeling Rangers their seventh loss in nine games.

Yunel Escobar added a solo drive for Toronto, which leads the majors with 211 homers.

Athletics 6, Mariners 2

Coco Crisp and Matt Carson each hit solo home runs to back Brett Anderson.

Anderson (4-6) allowed four hits in a season-high 7 2-3 innings and left to a standing ovation. He ended a four-game losing streak that matched the longest of his career.

Indians 3, Angels 2

Shin-Soo Choo drove home Michael Brantley with a tiebreaking single in the ninth inning, and the Indians rallied to beat Los Angeles.

Brantley's two-out double off Angels closer Fernando Rodney (4-2) started the final surge for the last-place Indians, who have won three of five on a West Coast road trip.