A 95th-minute strike from Stefano Lilipaly gave Bali United a 1-0 win at PSM Makassar to put the islanders on top of the Indonesia Liga 1 table in the penultimate round of the season on Monday evening.
With the game heading for a 0-0 draw that would have suited previous leaders Bhayangkara, the Dutch-born midfielder scored the only goal of the game.
The win puts United two points clear at the top, though Bhayangkara, in second, have a game in hand. The first is a re-arranged match at Madura United on Wednesday.
The loss leaves PSM three points off the pace in third, and almost certainly out of the running.
The headlines will belong to Lilipaly, but the real star of the show was Bali goalkeeper Wawan Hendrawan who pulled off a series of top-class saves to deny an ever-increasing number of disbelieving home attackers.
PSM continued to have chances to win the game to go top themselves, but were caught by a deadly counterattack in the final seconds.
A long ball out of defence freed Sylvano Comvalius on the right. The league's top goalscorer rolled over a perfect pass for Lilipaly to get what could be the decisive strike in the title race from close range.
It was an ironic finish as the two Bali players had squared up to each other in the first half after Lilipaly had failed to pass to the striker.
Comvalius pushed and shoved his teammate and the two had to be separated by other Bali players. The Dutch striker used a more constructive method of showing how it should be done in the final seconds to give Bali a great chance of the title.
Bali's final game of the season comes at home to bottom club Gresik United on Sunday. Assuming United are victorious, Bhayangkara will have to win both of their remaining games to take the title.