Diamondbacks rally vs. Brandon League, Dodgers in 9th

LOS ANGELES -- When the Diamondbacks and Dodgers get together, it's bound to be close.

Six of their seven games this season have been decided by three runs or fewer, and the latest was even tighter.

Willie Bloomquist put Arizona ahead with a bases-loaded, two-run infield single off Los Angeles closer Brandon League in a four-run ninth inning, helping the D-backs rally for a 5-4 victory Monday night.

"It's going to come down to the last at-bat against them," Bloomquist said. "I was just trying to stay up the middle. I didn't hit it great but sometimes direction is better than hitting it hard."

Diamondbacks closer Heath Bell then barely held on as Arizona won its fifth straight against the Dodgers and improved to 6-1 against them this season, including a three-game sweep in May.

"Heath kept his composure," D-backs manager Kirk Gibson said. "Guys buckled down, and they didn't give in."

The D-backs closed to 3-2 on pinch hitter Jason Kubel's infield single to second base that scored Martin Prado, who singled with one out in the ninth. Gerardo Parra doubled to deep center before League walked pinch hitter Didi Gregorius to load the bases.

Bloomquist hit a sharp grounder that shortstop Nick Punto stopped with a dive behind second base, but he couldn't hold on to the ball, and Parra and Josh Wilson, running for Kubel, scored to give the D-backs a 4-3 lead, their first of the game.

"The groundball with the bases loaded, it was just an inch away from being an out," League said. "But I didn't do my job in the ninth and I got an L for it."

Peter Moylan replaced League and gave up an RBI single to Paul Goldschmidt, making it 5-3.

Juan Uribe pulled the Dodgers to 5-4 in the bottom of the ninth with a solo homer off Bell. Tim Federowicz followed with a double that glanced off the glove of right fielder Parra.

"I made a mistake, and they got a hit," Bell said. "The Dodgers are really hot right now. It was just a good win for us."

Pinch hitter Skip Schumaker sacrificed Federowicz to third on Prado's fielding error, but Bell retired three in a row to finish for his 12th save.

Tony Sipp (3-1) pitched one-third of an inning for the victory.

"Nobody is giving in ever," Arizona starter Wade Miley said. "We battled and battled and battled, got opportunities, and made it work."

League (2-3) gave up four runs and four hits, struck out one, and walked one in two-thirds of an inning for the loss.

Dodgers rookie sensation Yasiel Puig went 3-for-4 with a strikeout while hitting fourth in the lineup after batting leadoff in his first seven big league games last week. He was named NL player of the week Monday for his stellar performance that featured 13 hits in 28 at-bats, four home runs and 10 RBIs.

Puig's single loaded the bases with no outs in the eighth, but Jerry Hairston Jr. grounded into a double play to third and Andre Ethier flied out to center to end the inning.

Mark Ellis' homer in the fifth extended the Dodgers' lead to 3-1. He went 3-for-4 with a walk and two runs scored.

Uribe snapped a 1-all tie with his broken-bat double that scored Hairston, who singled and took second on Ethier's single. Puig opened the inning with a single and tried to eke out an extra base on Hairston's hit but was thrown out at third by right fielder Parra.

Arizona's first run came on Miguel Montero's RBI single in the second that tied the game 1-all.

Parra robbed Federowicz of extra bases with a catch at the wall leading off the seventh. Federowicz hit the first pitch from Charles Brewer, who was making his major league debut after being called up earlier Monday.

Miley gave up three runs and nine hits, struck out four, and walked two.

Dodgers ace Clayton Kershaw allowed one run and six hits, struck out five, and walked two to remain winless in his past four starts with two no-decisions.

Game notes

The D-backs recalled LHP Joe Paterson and Brewer from Triple-A Reno, optioned LHP Tyler Skaggs, and placed LHP Matt Reynolds on the 15-day DL with a strained left elbow. ... Dodgers CF Matt Kemp, on the DL with a strained right hamstring, will rehab with the team through Wednesday and then likely go on a minor league rehab assignment. ... Dodgers SS Hanley Ramirez was out of the starting lineup for the fifth straight game because of a nagging left hamstring. The team said an MRI done Sunday didn't show any damage. ... The Dodgers recalled INF Justin Sellers from Triple-A Albuquerque, giving them another option to help fill the void until Ramirez returns.