Milwaukee Brewers right-hander Corbin Burnes tied a major-league record by striking out 10 consecutive batters during Wednesday night’s 10-0 victory over the Chicago Cubs.

Burnes’ record-tying strikeout came in the bottom of the fifth inning, when Cubs first baseman Frank Schwindel whiffed on an 88-mph slider. Third baseman Matt Duffy broke the string on the next pitch by singling to right field on a first-pitch fastball.

All 10 of Burnes’ strikeouts came on swinging third strikes. The 26-year-old right-hander fanned the side in the second, third and fourth innings to set a Brewers team record at nine straight, before striking out Schwindel to lead off the fifth.

Burnes was in such a zone he didn’t know he had tied the record.

Burnes shares the record with Philadelphia Phillies pitcher Aaron Nola, who pulled the feat against the New York Mets in June, and Hall of Famer Tom Seaver, who set the mark for the Mets against the San Diego Padres in 1970.

Burnes needed just 41 pitches to strike out the 10 hitters, with three of them going down on three pitches and none requiring more than five.

Burnes had a 7-0 lead before he even took the mound after the Brewers scored seven runs in the top of the first.

“It makes it really easy to just throw it over the plate,” he said. “Even after scoring seven runs, they came out swinging, so after the first we said instead of leaving it over the middle let’s just go back to our game plan and go to the edges and do what we do best. It worked. Credit goes to Omar [Narvaez]. I think I shook him off once all night.”

Burnes finished the night with a career-high 15 strikeouts over eight scoreless innings, the second-most strikeouts in franchise history, behind Ben Sheets’ 18 in 2004.