ST. PETERSBURG, Fla. — Dylan Bundy is getting a chance to stick around in the Baltimore Orioles' rotation.
Bundy lost his first major league start, pitching into the fourth inning Sunday as the Orioles lost to the Tampa Bay Rays 5-2.
"That's the most pitches I've thrown in my career up here, so that's a positive," Bundy said after a 70-pitch outing. "I had a good fastball but the command of it wasn't what I wanted it to be, and they took advantage of it."
Bundy, the fourth overall pick in the 2011 draft, has thrown 38 innings in 22 relief appearances this season. He was limited to a combined 17 minor league games the previous two years after Tommy John surgery in 2013.
Orioles manager Buck Showalter said Bundy will remain in a starting role for the AL East leaders.
"It's all part of the process," Showalter said. "Now it's about the competition and giving us a good chance to win. He's a smart guy, he'll learn."
Evan Longoria homered twice, Jake Odorizzi picked up his first home victory this season and the Rays won for just the fourth time in 28 games.
Longoria went deep in the first, Oswaldo Arcia had a two-run shot during the second and Brad Miller added a third-inning solo drive as the Rays took a 4-1 lead against Bundy (2-2), who allowed four runs and five hits over 3 1/3 innings.
Longoria has 21 homers this season after his 17th career multihomer game.
Odorizzi (4-5), who was 0-3 in 10 previous starts at Tropicana Field, gave up two runs and seven hits in six innings. Overall, he had been 0-2 in six starts since winning June 8 at Arizona.
"Obviously, it feels really good to get a win," Rays manager Kevin Cash said.
After Erasmo Ramirez went two scoreless innings for the Rays, AL All-Star Alex Colome got the final three outs to get his 20th save in as many chances.
Manny Machado had a first-inning sacrifice fly and Pedro Alvarez hit a solo homer in the sixth for the Orioles. Baltimore went 0 for 7 with runners in scoring position through five innings, including a two-out flyball by Chris Davis with the bases loaded in the fifth.
Showalter said OF Hyun Soo Kim, who was out of the lineup for the third straight game due to a strained right hamstring, is "getting close." Kim went through a running program.
LONGO'S LONG BALL
Longoria has 32 homers, including 31 while playing third base, off the Orioles. The only third baseman with more against Baltimore is Alex Rodriguez, who has 32.
Bundy allowed three homers in his 38 innings out of the bullpen. ... Baltimore LHP Donnie Hart made his big league debut and retired both batters he faced in the sixth. "It was fun," Hart said. "I didn't really notice (jitters) until they said something about I'm making my debut and then I could hear my mom. That's one voice I always hear no matter how high she is in the stands."
Orioles: RHP Kevin Gausman (1-6) goes against New York RHP Ivan Nova (6-5) Monday night in the opener of a four-game series at Yankee Stadium. Showalter said RHP Vance Worley, who went a perfect 1 2/3 innings Sunday, will start Tuesday night's game.