PHOENIX (AP) — Paul Goldschmidt hit his second home run in three days and the Arizona Diamondbacks beat the Chicago Cubs, 4-3, on Sunday to win the three-game series.

Goldschmidt’s 12th home run of the season, a two-run shot to the porch in deep right-center, put Arizona up 4-1 in the third. He also singled in a run in the first.

READ MORE: One Person Missing, Three Rescued From Lake Michigan In Evanston Amid Dangerous Rip Currents

Miguel Montero homered against his former Arizona teammates, a solo shot to the opposite field. Chris Coghlan hit a two-run homer that cut the Diamondbacks’ lead to 4-3 in the fifth.

Jeremy Hellickson (2-2), who played for Cubs manager Joe Maddon when the two were with Tampa Bay, allowed three runs on four hits in 6 2-3 innings to get the win. He also had his first career RBI.

Brad Ziegler pitched a scoreless ninth for his second save.

Jason Hammel (3-2) went seven innings, allowing four runs on five hits with nine strikeouts and an intentional walk.

Arizona shortstop Nick Ahmed tripled and made two outstanding defensive plays. He made a tough backhand stab to start a double play that ended the sixth, then ranged far to his left to field Jorge Solero’s grounder and throw him out.

Coghlan made a spectacular grab of Ender Inciarte’s sharply hit flyball to right in the seventh.

The Diamondbacks, winners in five of their last six, broke a 1-all tie in the third. Ahmed led off with a triple, extending his career-best hitting streak to nine games, and scored on Hellickson’s sacrifice fly.

READ MORE: Chicago Weather: Last Weekend Of Summer May Be Among Nicest

With two outs, Goldschmidt homered. He had a two-run homer to tie it in the 10th in the Diamondbacks’ 5-4 win in the series opener on Friday.

Chicago went 3-3 on the trip to San Diego and Phoenix.

TRAINER’S ROOM

Diamondbacks: RH Bronson Arroyo, recovering from Tommy John surgery, is to throw a bullpen session on Tuesday, his first in 10 months. … RH Reliever Matt Stites (right elbow inflammation) is to pitch an extended spring training game Monday, then report to Class A Visalia.

UP NEXT

Cubs: Chicago opens a three-game series at home with the Washington Nationals. LH Tsuyoshi Wada (0-0, 3.86) makes his second start since being called up from Triple-A Iowa in a Memorial Day afternoon contest. He struck out a career-nine against San Diego on Tuesday, allowing two runs on four hits in 4 2-3 innings. RH Tanner Roark (0-2, 2.66) goes for the Nationals.

Diamondbacks: After a brief three-game homestand, Arizona is on the road for the next six. RH Chase Anderson (1-1, 2.54) starts on Monday night against the St. Louis Cardinals, who will counter with RH Carlos Martinez (4-2, 4.08).

MORE NEWS: Police Say Christopher Green Jr. Was Found Safe In Ohio After Being Taken From Father In Gary, Prompting AMBER Alert

(© 2015 by STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.)