Updated

Stephen Drew hit a two-run single and Ryan Church added a pinch-hit RBI in the 10th inning as the Arizona Diamondbacks rallied off Trevor Hoffman for a 7-4 victory over the Milwaukee Brewers on Monday night.

Hoffman (2-5), who earned his first save in three months on Saturday, came on to pitch the 10th after the Diamondbacks tied it at 4 in ninth.

Kelly Johnson doubled to left with one out. With two outs, Miguel Montero was walked intentionally to face Mark Reynolds who walked on a 3-2 pitch to load the bases. Drew slapped a 2-2 pitch up the middle for two runs. Church, hitting for Sam Demel (1-0), singled to right to make it 7-4.

The Diamondbacks snapped a seven-game losing streak to Milwaukee. Aaron Heilman pitched the 10th for his sixth save in 11 chances.

With Milwaukee leading 4-3, reliever John Axford walked Reynolds and Drew to start the ninth. After a sacrifice to advance the runners, Gerado Parra had an RBI groundout to tie the game.

The short-handed Brewers were forced to scramble in the outfield as starters Corey Hart and Ryan Braun were out with injuries and Jim Edmonds, their top reserve, had been traded.

Hart, the right fielder, has a sore lower back, but he pinch-hit in the ninth and grounded out. Braun, the left fielder, had a left-wrist strain and contusion.

Hart came out of Sunday's game against Houston in the top of the sixth. He took part in batting practice, but told Brewers manager Ken Macha that he couldn't go.

Braun, who is day-to-day, got tangled up with Astros first baseman Brett Wallace in a play at the bag.

Alcides Escobar, a rookie shortstop who has made appearances at all three outfield positions this season, started for the first time in right. Joe Inglett came off the bench to play left.

The NL Central-leading Cincinnati Reds acquired Edmonds on Monday for outfielder Chris Dickerson who had not arrived at Miller Park as of game time.

Lorenzo Cain, playing for Carlos Gomez, who is on the 15-day disabled list with a concussion, made his third start in center after being recalled on Friday from Triple-A Nashville.

Diamondbacks starter Ian Kennedy hit three batters in the first three innings, but home plate umpire CB Bucknor didn't issue a warning until Milwaukee starter Chris Narveson threw behind Rusty Ryal in the fourth.

Kennedy has struggled with his control which may have explained why the Brewers, who lead the majors with 60 hit by pitchers, didn't retaliate. He leads the staff with nine hit batters and 13 wild pitches, including two in the game that turned into runs for Milwaukee.

After Cain bunted his way on in the second, Kennedy nailed Jonathan Lucroy and Escobar above their right elbows. Cain later scored on a wild pitch as Milwaukee went ahead 2-1.

Chris Young led off the Diamondbacks' third with his 20th home run, but the tie didn't last long as Kennedy's wildness got him again in the bottom of the inning.

First, he hit Prince Fielder and then walked Cain. Both advanced on a wild pitch before Inglett's sacrifice fly scored Fielder. Narveson singled home Cain as Milwaukee led 4-2.

Fielder's run-scoring single with two on in the Brewers' half of the first got the run right back.

Kelly Johnson singled and raced to third on Justin Upton's soft liner to Escobar in right. Johnson scored on Miguel Montero's single.

Upton walked, took third on a single by Montero and scored on a double play in the sixth as the Diamondbacks pulled within 4-3.

Narveson allowed three runs and six hits over six innings. Zach Braddock and Kameron Loe pitched scoreless relief until Axford took over and blew his second save in 18 chances.

Notes: Braun was in the dugout wearing a medical brace on his left wrist. ... Last Wednesday, Kennedy allowed four runs and eight hits over four innings in a 7-2 loss to Washington. It was his shortest outing of his season. Against the Brewers, Kennedy allowed four runs and five hits over six innings. ... Arizona's Adam LaRoche pinch-hit in the ninth and struck out.