Buck Showalter had an interesting decision to make before Tuesday night’s game. Did he go with Ryan Flaherty, who was in his best groove of the year at second base? Or should he try Alexi Casilla, who had some success against Cleveland starter Justin Masterson?

Showalter gave Casilla the start. The second baseman rewarded him with a key three-run home run in the seventh that helped lead the Orioles to a 6-3 win over the Cleveland Indians before 20,924 at Oriole Park.

The Orioles, who had lost four straight and seemed headed to another defeat at the hands of Masterson, woke up in the seventh.

Trailing 3-1 with just three hits in six innings against Masterson (9-6), Adam Jones led off and was hit by a pitch. Chris Davis powered his 28th home run of the year to left to tie the score at 3.

Matt Wieters walked, and after J.J. Hardy popped to short, Chris Dickerson singled, and Casilla who had just 11 career home runs, hit one to right, and suddenly, it was 6-3.

“I feel real good for him. I’m happy for him,” Showalter said. “We knew runs were going to be at a premium.”

It was Casilla’s second career home run against Masterson, and his first with the Orioles (43-35).

“I think everybody’s pulling for him right there, obviously trying, hoping that he’ll just get a base hit. Then he does that, provided a little bit of a jolt of adrenaline for everybody,” Davis said.

Casilla’s home run helped save Chris Tillman, who started off poorly, but ended well.

Tillman (9-2) has won six straight, and after a rough beginning, allowed three runs on four hits in seven innings. He walked four and struck out six.

“It was definitely a grind for me tonight,” Tillman said. “I was off the first couple of innings. I found a way to get back into it.”