CHICAGO (AP) — David Bote hit a tying, two-run homer off Brad Boxberger with one out in the ninth inning, Anthony Rizzo followed two pitches later with a winning home run and the Chicago Cubs overcame a five-run deficit to beat the Arizona Diamondbacks 7-6 on Thursday.

Bote was called up when Kris Bryant was put on the disabled list Thursday because of inflammation in his left shoulder.

READ MORE: 16-Year-Old Charged In 2 Carjackings In Chicago's Douglas Neighborhood

Bote drove a thigh-high 0-2 fastball about a half-dozen rows in the bleachers in left-center for his second home run this season, tying the score 6-6.

Rizzo took a strike, then sent a thigh-high changeup to the top of the bleachers in right-center. Boxberger (1-4) blew a save for the fifth time in 29 chances.

Nick Ahmed hit his first career grand slam in the fifth, an inning after Alex Avila’s two-run homer, as the Diamondbacks built a 6-1 lead.

CHICAGO, IL – JULY 25: Anthony Rizzo #44, Albert Almora Jr. #5, and Tommy La Stella #2 of the Chicago Cubs celebrate after beating the Arizona Diamondbacks 2-1 at Wrigley Field on July 25, 2018 in Chicago, Illinois. (Photo by Dylan Buell/Getty Images)

Chicago got two runs in the fifth on Anthony Rizzo’s RBI single and run-scoring grounder by Albert Almora Jr., who reached when third baseman Daniel Descalso allowed his potential inning-ending, double-play grounder to bounce away for an error.

Kyle Schwarber scored from third base with two outs in the sixth when Javier Baez reached while striking out as Zach Godley bounced a breaking ball for a wild pitch.

Eddie Butler (1-1), the fifth Chicago reliever, retired Jon Jay on a flyout that stranded two runners in the ninth.

Cubs starter Tyler Chatwood allowed four runs, five hits and six walks in 4 2/3 innings. Chatwood leads the major leagues with 85 walks and has a 7.71 ERA in his last five starts.

Godley gave up four runs and seven hits in 5 2/3 innings.

REINFORCEMENT

READ MORE: Larry Scott, 32 Charged In May 1 Murder Of Travis Willis In West Pullman

RHP Matt Andriese joined the Diamondbacks, a day after he was acquired from Tampa Bay. RHP Randall Delgado was designated for assignment. Manager Torey Lovullo said Andriese (3-4, 4.07 in 27 games with Tampa Bay) would be used in roles ranging from three outs to three innings.

CHICAGO, IL – JULY 26: Willson Contreras #40 of the Chicago Cubs celebrates after scoring against the Arizona Diamondbacks on an RBI single hit by Kyle Schwarber #12 (not pictured) during the second inning at Wrigley Field on July 26, 2018 in Chicago, Illinois. (Photo by Jon Durr/Getty Images)

BOTE’S BACK

Bote was recalled from Triple-A Iowa for the fifth time this season. He saved a run with the bases loaded in the second when he slid to his left to grab David Peralta’s grounder.

TRAINER’S ROOM

Diamondbacks: 3B Jake Lamb left in the third because of a bruised left shoulder.

Cubs: INF Javier Baez was held out of the starting lineup for a second straight day because of a bruised left knee. He pinch hit in the sixth and remained in the game at shortstop.

UP NEXT

Diamondbacks: RHP Zack Greinke (11-5, 3.05) faces RHP Luis Perdomo (1-5, 6.99) at San Diego on Friday to begin a three-game series.

Cubs: LHP Mike Montgomery (3-3, 3.73) takes the mound against Cardinals RHP Luke Weaver (11-6, 4.65) in the opener of a three-game set in St. Louis on Friday.

MORE NEWS: While Learning Remotely, Northwest Suburban Band Class Project Spanned The Country

© 2018 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.