The Arizona Diamondbacks finally broke out, recording 14 hits in a 10-4 rout of the visiting Chicago Cubs in front of 21,278 at Chase Field on Tuesday.

The win boosted Arizona’s record to 52-48, and kept the Diamondbacks within a half-game of the first-place Los Angeles Dodgers, who came from behind to beat the Toronto Blue Jays on Tuesday.

The Diamondbacks had just three hits until the sixth inning but tallied 11 over the next three frames, scoring a trio of runs in each. It was the most runs and hits Arizona has recorded in nearly three weeks.

Starter Patrick Corbin struck out six to push his record to 12-1, lasting six innings and giving up one run on four hits. It was Corbin’s 17th quality start, which ties him for first in the majors with the Dodgers’ Clayton Kershaw, the Cardinals’ Adam Wainwright, and his Tuesday opponent, Travis Wood of the Cubs.

Heath Bell pitched a scoreless seventh, but David Hernandez and Tony Sipp each gave up a home run in the eighth and ninth, respectively.

Sveum ejected: Cubs manager Dale Sveum was ejected by home-plate umpire Dana DeMuth after the top of the third for arguing balls and strikes. Cubs third baseman Cody Ransom went down looking to end the third, the second of back-to-back strikeouts by Diamondbacks pitcher Pat Corbin. Ransom flipped his equipment in disapproval, and Sveum came out to talk to DeMuth.

The Cubs still managed to take a 1-0 lead as Corbin gave up two hits and a walk in the inning. It was Sveum’s fourth ejection of the season. Bench coach Jamie Quirk took over managerial duties for the Cubs.

Prado’s bomb: Down 0-2 in the fifth, Martin Prado creamed his ninth home run of the season to left field to tie the game at 1-1. It was his fourth career homer on an 0-2 count. Prado finished 2 for 3 with two RBIs. In five games since the All-Star Break, Prado is batting 7 for 18, raising his average from .250 to .259.