(Cleveland) (AP) – Once Vinnie Pestano stopped at third base, he had plenty of company.

Standing within a few feet were two Royals baserunners, two umpires, a Kansas City coach and several teammates screaming at him.

He had no idea being a temporary closer would be this difficult.

Pestano wiggled out of a jam in the ninth inning when Kansas City’s David Lough ran past his third-base coach and failed to score the tying run, giving the Indians a 4-3 win over the Royals on Tuesday night.

“I had every intention of going out there and making it a 1-2-3 inning,” Pestano said. “But it didn’t happen that way. But at the end of the day no runs were scored and we got the `W.’”

Barely.

Michael Brantley’s sacrifice fly capped Cleveland’s three-run eighth inning and the Indians held on through a wild ninth to stun the Royals.

Held to one run and three hits over seven innings by Ervin Santana, the Indians finally strung something together in the eighth off Kelvin Herrera (3-5) and Tim Collins. Michael Bourn and Jason Kipnis delivered RBI hits before Brantley drove in Mike Aviles with the go-ahead run.

Cody Allen (2-0), whose throwing error in the eighth helped the Royals take a 3-1 lead, got the win. Pestano, who is filling as Cleveland’s closer while Chris Perez is on the disabled list, gave up three singles and a walk in the ninth but held on for his second save.

“Never a doubt,” he joked.

The Royals lost for just the third time in 14 games and missed a chance to move over .500 for the first time since May 18.

They probably should have tied it in the ninth when Alcides Escobar singled to right with one out and runners at first and second. But Lough ran past third-base coach Eddie Rodriguez’s stop sign, and got caught in a rundown between home and third.

Lough got back to the bag safely, but Mike Moustakas was also there and was tagged out. It appeared Lough would have scored easily as right fielder Drew Stubbs’ throw was off target.

“I take full responsibility,” said Lough, who is from nearby Akron and had several family members and friend at the game. “It’s 100 percent my fault.”

Lough nearly made another mistake as he briefly took his hand off the bag and almost got doubled off by Pestano, who got involved in the rundown and tagged Moustakas out. Pestano said the Indians don’t necessarily work on situations where two runners are on the same base.

“Luckily, I had about seven guys shouting at me about what to do so I just chose the thing that I heard twice,” he said with a laugh.

What was he hearing?

“Run it back, run it back,’” he said. “`Don’t throw it, don’t throw it. Tag him, tag him, it’s his base.’ I had to process a lot of information.”

Indians manager Terry Francona said he has one basis rule in those situations.

“Tag everybody in sight,” he said. “Umpire, everybody and hope somebody gets off the bag. It’s confusing. That’s why you tag everybody. They (umpires) can figure it out.”

Pestano settled down after the crazy play and got Eric Hosmer on a groundout with the bases loaded as the Indians got their 10th come-from-behind win.

The Indians did next to nothing against Santana, but they pounced on Kansas City’s bullpen in the eighth.

Ryan Raburn drew a leadoff walk from Herrera, moved up on a groundout and scored when Bourn slapped a single inside the left-field line.

Aviles followed with a single and Kipnis, who stranded seven runners in a 2-1 loss on Monday night, delivered an RBI double off Collins to tie it. The Royals walked Carlos Santana intentionally to load the bases and Brantley hit a fly ball to right, easily scoring Aviles.

Before the comeback, the Indians were in danger of falling another game behind Kansas City in the AL Central.

“I won’t say we needed it, but we wanted it,” Bourn said. “They took second place over us yesterday and we came back today. Not only that, we want to win those close games like that. Those close games matter.”

Santana deserved a better outcome. The right-hander made it look easy against an Indians lineup that was in a deep offensive funk.

Santana, who pitched the only no-hitter in Progressive Field history in 2011 for the Angels, didn’t allow a runner to reach second base until the sixth and had Cleveland’s hitters guessing most of the night.

“He was spectacular,” Royals manager Ned Yost said.

Ubaldo Jimenez’s wildness helped the Royals take a 2-0 lead in the third without benefit of a hit.

He walked No. 9 hitter Escobar and Alex Gordon to start the inning and then uncorked a wild pitch, advancing the runners to second and third. Hosmer followed with an RBI groundout, and with Salvador Perez batting, Jimenez bounced another pitch in the dirt that got away from Santana, scoring Gordon.

The Indians came in leading the AL with 38 wild pitches, 29 of them with Santana behind the plate.

Before the game, manager Terry Francona defended Santana’s ability to block pitches. On Monday night, the Royals scored the go-ahead run in the eighth on a wild pitch from Bryan Shaw that Santana let go through his legs.

Unable to get anything going for the first five innings against Santana, the Indians closed to 2-1 in the sixth on Aviles’ two-out RBI single.

But the Indians gave back an unearned run in the eighth.

Hosmer led off with a comebacker to Allen, who fielded the ball cleanly but fired it past first baseman Mark Reynolds. The ball rolled down the track along the first-base line, and Hosmer hustled into third with a headfirst dive. Perez followed with an RBI single to make it 3-1.