St. Louis Cardinals pitcher Miles Mikolas was one strike away from throwing the 11th no-hitter in franchise history Tuesday night when it was broken up in the ninth inning.

Mikolas had Pirates right fielder Cal Mitchell on 2-2- count when Mitchell connected on a pitch to center field. The ball went just beyond the outstretched arm of Harrison Bader and bounced over the fence for a ground-rule double.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Miles Mikolas watches a ball drop

Cardinals starting pitcher Miles Mikolas watches as his no-hitter is broken up by a ground-rule double by Pittsburgh Pirates' Cal Mitchell Tuesday, June 14, 2022, in St. Louis. (AP Photo/Scott Kane)

Mikolas would be removed from the game immediately after the hit for Packy Naughton. Pirates batter Jack Suwinski would ground out three pitches later.

St. Louis won the game 9-1, picking up their 37th win of the season. Mikolas was a bit bummed about losing the no-hitter so late in the game.

"I’m a little over it. I mean it stinks, to get that close and then kind of come up empty-handed," he told reporters after the game. "That’s a great outing. I’ll be real proud that I gave the bullpen kind of another night off. I know we need it with the doubleheader. I’m happy – but deep down it kind of stinks."

CHRIS BASSITT GOES 8 INNINGS, METS BLANK SLUMPING BREWERS

Bader was inches from making an incredible diving catch to save the no-hitter and win the game. But Mikolas said if the Gold Glove outfielder couldn’t get to it, nobody could.

Harrison Bader catches a fly ball

Cardinals center fielder Harrison Bader catches a fly ball hit by Pittsburgh Pirates' Hoy Park during the eighth inning in the second game of a doubleheader Tuesday, June 14, 2022, in St. Louis. (AP Photo/Scott Kane)

"If he can’t get it, nobody can – except maybe one of those guys in the stands when they have that like 3-foot glove, maybe that guy," the pitcher added. "We’re playing shallow so they don’t kind of doink one in. I think that’s what you’re always guarding against is you don’t want to lose it cheap. The guy hit a ball to the track, I’ll give it to him. And it was a good pitch. I’m more OK with that then if the dude bloops a broken-bat bleeder in there somewhere."

Mikolas finished with six strikeouts in the win. He allowed one earned run.

Bader was 1-for-3 in the game with a strikeout.

Miles Mikolas meets teammates

Cardinals pitcher Miles Mikolas is congratulated by teammates after being removed during the ninth inning against the Pittsburgh Pirates on Tuesday, June 14, 2022, in St. Louis. (AP Photo/Scott Kane)

"It went to the left of my glove, kind of curled back," he said. "I was working really hard to try to make up some ground. So yeah, just sucks. But it is what it is."

CLICK HERE TO GET THE FOX NEWS APP

Paul Goldschmidt went 4-for-4 with two home runs and five RBIs in the win. Tommy Edman added a home run as well.

The Associated Press contributed to this report.