ST. PETERSBURG, Fla. — Dustin Pedroia turned what looked like a sure out into the go-ahead run.

Pedroia used nifty baserunning to score from first base on David Ortiz’s double in the 10th inning, and the AL East-leading Boston Red Sox beat the Tampa Bay Rays 3-2 on Sunday for their 11th consecutive win.

Boston’s magic number to clinch the division title dropped to two.

Pedroia singled off Eddie Gamboa (0-1) to start the 10th. The relay throw on Ortiz’s hit to right center beat Pedroia to plate, but he avoided catcher Luke Maile’s first tag.

Pedroia’s momentum carried him past the plate and he went back to touch it. Maile was charged with an error when the ball dropped out his glove on another tag try.

“That was crazy,” Ortiz said. “Seemed like he was dancing at the plate.”

“They made a great relay,” Pedroia added. “I really didn’t have anywhere to go. Just tried to get around him and touch the plate. It worked out for us.”
Maile called it a strange play.

“I don’t really know the timing of when the ball left the mitt,” Maile said. “It’s a play you’ve got to make.”

Pedroia hit a solo homer and Mookie Betts extended his hitting streak to 11 games with an RBI single for the Red Sox, who secured at least an AL wild-card spot Saturday night.

“Petey is right in the middle of it again,” Boston Manager John Farrell said.

Joe Kelly (4-0) pitched 22/3 scoreless innings for the win.

Red Sox starter Eduardo Rodriguez struck out a career-high 13 in 51/3 innings. The left-hander and Heath Hembree combined to strike out 11 consecutive batters to establish a major league record. The New York Mets held the previous mark when Tom Seaver struck out 10 in a row against San Diego in 1970.

Boston also set a club record by striking out 21 through nine. Kelly added two more in the 10th.

There was a moment of silence before the game for Miami pitcher Jose Fernandez, who was killed in a boating accident early Sunday. Fernandez played high school baseball in nearby Tampa after defecting from Cuba.

The Rays planned to honor Ortiz before his final game at Tropicana Field but canceled the ceremony at Ortiz’s request after Fernandez’s death. He had three hits and moved past Frank Thomas for 107th place on the career list with 2,469 hits.

Ortiz has 35 homers and 90 RBI at Tropicana Field, which is the most of any visiting player.