Joey Rickard drove in the winning run in the 11th inning with an RBI double, his fourth hit of the game, and the Baltimore Orioles beat the Tampa Bay Rays 6-5 on Thursday night.

Rickard doubled off Diego Castillo (0-1) after two-out singles by Chris Davis and Rio Ruiz kept the inning alive for Baltimore.

More Images
Baltimore Orioles pitcher John Means (67) celebrates with catcher Pedro Severino after closing out the Tampa Bay Rays during the 11th inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. The Orioles won 6-5. (AP PhotoChris O'Meara)

Joey Rickard drove in the winning run in the 11th inning with an RBI double, his fourth hit of the game, and the Baltimore Orioles beat the Tampa Bay Rays 6-5 on Thursday night.

Baltimore Orioles pitcher John Means delivers to the Tampa Bay Rays during the 11th inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. The Orioles won 6-5. (AP PhotoChris O'Meara)

Tommy Pham had four hits, included his third home run of the season for the Rays, but was picked off while trying to steal third base with the score tied in the ninth after Avisaíl Garcia homered off Mychal Givens.

Tampa Bay Rays' Avisail Garcia celebrates with Tommy Pham (29) after Garcia hit a solo home run off Baltimore Orioles relief pitcher Mychal Givens during the ninth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Mancini, Dwight Smith Jr., Renato Nunez and Rickard had hits in the third to give the Orioles a 2-1 lead off Jalen Beeks. Rays opener Hunter Wood gave up two hits in two shutout innings before giving way to Beeks.

Tampa Bay Rays' Avisail Garcia flips his bat after hitting a home run off Baltimore Orioles relief pitcher Mychal Givens during the ninth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

But the Rays stormed back to tie it. Mike Zunino's two-run double cut Baltimore's lead to 5-4 after a couple of walks in the eighth. Garcia tied it with a long home run off Mychal Givens in the ninth.

Baltimore Orioles' Pedro Severino celebrates as he crosses home plate after his home run off Tampa Bay Rays relief pitcher Jalen Beeks during the fourth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Orioles: RHP Alex Cobb (lumbar strain) will come off his second stint on the injured list to start Friday night's game. ... Davis, who missed two games with a stomach virus, entered the game as a defensive replacement in the eighth before hitting a single in the 11th.

Baltimore Orioles' Joey Rickard (23) scores on a single by Richie Martin as Tampa Bay Rays catcher Mike Zunino (10) leaps for a high throw during the seventh inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Orioles: Cobb (0-0, 3.18) will make his second start of the season in the opener of a three-game series against Minnesota in Baltimore.

Baltimore Orioles' Jonathan Villar, right, goes airborne as he scores in front of Tampa Bay Rays catcher Mike Zunino on a sacrifice fly by Dwight Smith Jr. during the eighth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Baltimore Orioles' Jonathan Villar, right, goes airborne as he scores in front of Tampa Bay Rays catcher Mike Zunino on a sacrifice fly by Dwight Smith Jr. during the eighth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Tampa Bay Rays' Tommy Pham watches his home run off Baltimore Orioles starting pitcher Andrew Cashner during the third inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Tampa Bay Rays' Tommy Pham watches his home run off Baltimore Orioles starting pitcher Andrew Cashner during the third inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

John Means (2-2) got the win with two innings of relief for the Orioles, who snapped a six-game losing streak against Tampa Bay. Trey Mancini had three hits and Pedro Severino homered for the Orioles.

Baltimore Orioles pitcher John Means (67) celebrates with catcher Pedro Severino after closing out the Tampa Bay Rays during the 11th inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. The Orioles won 6-5. (AP PhotoChris O'Meara)

Baltimore Orioles pitcher John Means (67) celebrates with catcher Pedro Severino after closing out the Tampa Bay Rays during the 11th inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. The Orioles won 6-5. (AP PhotoChris O'Meara)

Tommy Pham had four hits, included his third home run of the season for the Rays, but was picked off while trying to steal third base with the score tied in the ninth after Avisaíl Garcia homered off Mychal Givens.

The Rays lost for just the second time in their last 10 games.

Austin Meadows led off the first for Tampa Bay with a double off the top of the center-field wall off Baltimore starter Andrew Cashner. Meadows scored on Pham's single to put the Rays up 1-0.

Baltimore Orioles pitcher John Means delivers to the Tampa Bay Rays during the 11th inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. The Orioles won 6-5. (AP PhotoChris O'Meara)

Baltimore Orioles pitcher John Means delivers to the Tampa Bay Rays during the 11th inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. The Orioles won 6-5. (AP PhotoChris O'Meara)

Mancini, Dwight Smith Jr., Renato Nunez and Rickard had hits in the third to give the Orioles a 2-1 lead off Jalen Beeks. Rays opener Hunter Wood gave up two hits in two shutout innings before giving way to Beeks.

Pham's homer in the third off Cashner tied it for the Rays, but the Orioles went out in front against on Severino's blast off Beeks to lead off the fourth.

Rickard led off the seventh with a triple and scored on a single by Richie Martin to put Baltimore up 4-2. Smith's sacrifice fly in the eighth made it 5-2.

Tampa Bay Rays' Avisail Garcia celebrates with Tommy Pham (29) after Garcia hit a solo home run off Baltimore Orioles relief pitcher Mychal Givens during the ninth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Tampa Bay Rays' Avisail Garcia celebrates with Tommy Pham (29) after Garcia hit a solo home run off Baltimore Orioles relief pitcher Mychal Givens during the ninth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

But the Rays stormed back to tie it. Mike Zunino's two-run double cut Baltimore's lead to 5-4 after a couple of walks in the eighth. Garcia tied it with a long home run off Mychal Givens in the ninth.

Cashner gave up two runs on five hits in five innings while striking out six for Baltimore.

TRAINER'S ROOM

Tampa Bay Rays' Avisail Garcia flips his bat after hitting a home run off Baltimore Orioles relief pitcher Mychal Givens during the ninth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Tampa Bay Rays' Avisail Garcia flips his bat after hitting a home run off Baltimore Orioles relief pitcher Mychal Givens during the ninth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Orioles: RHP Alex Cobb (lumbar strain) will come off his second stint on the injured list to start Friday night's game. ... Davis, who missed two games with a stomach virus, entered the game as a defensive replacement in the eighth before hitting a single in the 11th.

Rays: LHP Blake Snell (broken fourth right toe) threw for a second straight day and might have a bullpen session Saturday. ... IF Joey Wendle (strained left hamstring) is likely to be activated this weekend.

UP NEXT

Baltimore Orioles' Pedro Severino celebrates as he crosses home plate after his home run off Tampa Bay Rays relief pitcher Jalen Beeks during the fourth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Baltimore Orioles' Pedro Severino celebrates as he crosses home plate after his home run off Tampa Bay Rays relief pitcher Jalen Beeks during the fourth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Orioles: Cobb (0-0, 3.18) will make his second start of the season in the opener of a three-game series against Minnesota in Baltimore.

Rays: An opener will start Friday night's game against the Boston Red Sox and Eduardo Rodriguez (1-2, 7.98).

More AP MLB: https://apnews.com/MLB and https://twitter.com/AP_Sports

Baltimore Orioles' Joey Rickard (23) scores on a single by Richie Martin as Tampa Bay Rays catcher Mike Zunino (10) leaps for a high throw during the seventh inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Baltimore Orioles' Joey Rickard (23) scores on a single by Richie Martin as Tampa Bay Rays catcher Mike Zunino (10) leaps for a high throw during the seventh inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Baltimore Orioles' Jonathan Villar, right, goes airborne as he scores in front of Tampa Bay Rays catcher Mike Zunino on a sacrifice fly by Dwight Smith Jr. during the eighth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Baltimore Orioles' Jonathan Villar, right, goes airborne as he scores in front of Tampa Bay Rays catcher Mike Zunino on a sacrifice fly by Dwight Smith Jr. during the eighth inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Tampa Bay Rays' Tommy Pham watches his home run off Baltimore Orioles starting pitcher Andrew Cashner during the third inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Tampa Bay Rays' Tommy Pham watches his home run off Baltimore Orioles starting pitcher Andrew Cashner during the third inning of a baseball game Thursday, April 18, 2019, in St. Petersburg, Fla. (AP PhotoChris O'Meara)