Updated

Third baseman Will Middlebrooks tripped Allen Craig for a game-ending obstruction call on Jon Jay's ninth-inning grounder, giving the St. Louis Cardinals a bizarre 5-4 win over the Boston Red Sox on Saturday night and a 2-1 World Series lead.

Boston had tied the score with two runs in the eighth, and Yadier Molina singled with one out in the ninth off loser Brandon Workman. Craig pinch hit and lined Koji Uehara's first pitch down the left-field line for a double that put runners on second and third.

With the infield in, Jay hit a grounder to diving second baseman Dustin Pedroia. He threw home to catcher Jarrod Saltalamacchia, who tagged out the sliding Molina. Saltalamacchia threw offline past third, and Middlebrooks, with his stomach on the field, raised both legs and tripped Craig.

"I'm in shock right now," Molina said. "Wow, it's unbelievable."

Third base umpire Jim Joyce immediately signaled obstruction, and even though a sliding Craig was tagged by Saltalamacchia at the plate following the throw by left fielder Daniel Nava, plate umpire Dana DeMuth signaled safe and then pointed to third, making clear the obstruction had been called.

"It's part of the game," Cardinals outfielder Matt Holliday said. "The guy was in his way. ... We'll take it."

"Tough way to have a game end, particularly of this significance," Red Sox manager John Farrell said.

The Red Sox scored twice in the eighth inning to tie it 4-all. Jacoby Ellsbury led off with a single and Shane Victorino was hit by a pitch for the sixth time this postseason. Both runners moved up on Pedroia's groundout, and David Ortiz was intentionally walked.

Cardinals manager Mike Matheny went to hard-throwing closer Trevor Rosenthal with the bases loaded, hoping for a five-out save from a rookie who has looked almost untouchable this October. But the Red Sox pushed two runs across.

Daniel Nava drove in one with a short-hop grounder that was smothered by second baseman Kolten Wong, who had just entered on defense in a double-switch.

Wong went to second for the forceout, but Nava beat the relay and Ellsbury scored to make it 4-3. Xander Bogaerts tied it when he chopped a single up the middle.

Brandon Workman jammed Holliday and retired the slugger on a routine fly with two on to end the bottom of the eighth. That sent the game to the ninth tied at 4.

Holliday's two-run double puts the Cardinals on top 4-2 in the seventh.

It was a tough inning for Red Sox reliever Craig Breslow. Matt Carpenter reached safely when he checked his swing on an infield single to shortstop. Carlos Beltran was grazed on the elbow pad by a pitch -- making no effort to get out of the way.

Beltran, in fact, almost appeared to stick his elbow out just a tiny bit to make sure the ball made contact.

Junichi Tazawa came on and Holliday pulled a grounder past Middlebrooks at third. The ball kicked into the left-field corner and Holliday went all the way to third on the throw to the plate.

Tazawa then got a couple of strikeouts and prevented further damage.

It was Middlebrooks' first inning in the field. He entered as a pinch-hitter in the top of the seventh and took over at third base in the bottom half.

That shifted Bogaerts to shortstop -- and neither one was able to make the difficult defensive play Boston needed in that inning.

Cardinals starter Joe Kelly, one of the few major league pitchers to wear glasses on the mound, set down his first nine batters. The Red Sox seemed to see him better the next time around in coming back from a 2-0 deficit.

Bogaerts opened the fifth with a triple that banged-up right fielder Beltran couldn't quite reach. The rookie later scored on a grounder by pinch-hitter Mike Carp.

Slumping Shane Victorino drew a leadoff walk from Kelly in the sixth and wound up scoring the tying run. Ortiz grounded a single off lefty reliever Randy Choate, and Nava greeted Seth Maness with an RBI single that made it 2-all.

Their fielding woes from Game 1 far behind them, the slick-fielding Cardinals made several sharp plays. Kelly barehanded a one-hopper, Carpenter threw out a runner from his knees up the middle and third baseman David Freese backhanded a line drive.

St. Louis quickly broke ahead, scoring in the first inning for the first time this October on RBI singles by Holliday and Molina. After the Cardinals got three hits in a span of four pitches, Red Sox reliever Felix Doubront began heating up in a hurry before Jake Peavy settled down.

Peavy wriggled out of bases-loaded, no-out jam in the fourth to keep the Cardinals' lead at 2-0. He got some help, too, from St. Louis third base coach Jose Oquendo.

With runners on first and second, Jon Jay hit a sharp single to center. The Red Sox were conceding a run and ready to let Molina score from second, but Oquendo held up the slow-footed catcher.

Peavy actually lowered his career postseason ERA by more than a full run, down to 9.27 in five winless starts.

A day before Kelly and Peavy faced each other, they sounded totally different.

Kelly kidded about his pregame preparation: He stays up all night taking on his Twitter followers, shooting away in "Call of Duty," the popular first-person war video game.

Peavy, meanwhile, was already ramped up and ready to go.

"This is what I've lived for my whole life," he said Friday. "I'm as prepared as I'll ever be, physically, mentally."