Bangalore: Chasing 159, Punjab had some very anxious moments before crossing the line as they lost Azhar Mahmood (2), skipper David Hussey (45) and Abhishek Nayar (2) through freak run outs in a space of eight balls towards the end to almost give away the win to rivals on the platter.
However, Piyush Chawla struck a six in the penultimate ball of the match to ensure that his side jump to fourth place in the table from a dejecting eighth spot.
Nitin Saini (50 off 36 balls), Mandep Singh (43 off 30) and skipper Hussey batted with sheer determination before the unnecessary run outs.
Saini shared a match-winning partnership of 73 runs for the third wicket with Hussey (45 off 29) to lay foundation for the win.
However, Punjab made it tough for themselves as Mahmood lost wicket in the fourth ball of the 17th over and Hussey and Nayar were out in the 19th over bowled by Zaheer Khan, leaving Punjab to score five off six balls.
Vinay Kumar did not concede a run in the first two balls but Paras Dogra managed a couple off the third to make it three runs off three balls.
It became two off two when Dogra took a single in the next ball and then Piyush Chawla ended supense with a big six.
Now Punjab (-0.280) and Mumbai Indians (-0.187) both have 10 points but the latter are placed third due to better Net Run Rate.
Punjab had almost undone the good work done in the start by conceding 99 runs in the last 10 overs and similarly they almost snatched defeat by losing three wickets after being placed comfortably 146 for three in the 17th over.
Punjab made a decent start to the chase, if not a fiery one. They lost two wicket in the first 10 overs but put on 80 runs, which meant they were very much in the hunt.
They lost Shaun Marsh (8) early when he was castled by Andrew McDonald and then Mandeep but the Indian had done a good job for his side by smashing 43 off 30 balls.
Mandeep in company of Saini put on 35 for the second wicket before being trapped by spinner K P Apanna.
Earlier, Punjab did everything right till the first half of the innings after winning the toss but script changed in the last 10 overs as they conceded 99 runs.
Led Praveen Kumar, who bowled a sensational spell of 4-0-8-0, Punjab were brilliant in the first 10 overs as they had restricted the host to 58 for one despite Gayle present there right from the first ball.
Gayle was on 39 when he was dropped by substitute David Miller in the first ball of the 13th over off Parvinder Awana. The Caribbean creamed Awana for two fours and a six in the same over to shift the momentum for his side.
Gayle and Virat Kohli (45 off 42) shared a 118-run partnership for the second wicket.
Mahmood's strikes in the end helped Punjab restrict Bangalore to a total which was manageable for their batsmen.
Mahmood (3/20), not only dismissed Gayle but also scalped Andrew McDonald and AB De villiers in the final over of the innings.
However, the way Punjab had dominated the proceedings in the first-half, they would have been disappointed to have allowed Bangalore let off hook.
Earlier, Gayle, who was scratchy and uncomfortable with Praveen's moving ball early in the innings, thrashed Harris for three consecutive boundaries in fourth over of the innings.
Kohli played patiently from the other end and looked to build the innings instead of going for his shots. Gayle brought 50 runs on the board for RCB with a massive six off Chawla, who leaked 29 runs in his first two overs.
Soon Gayle posted RCB's total to 100 in the 13th over when he showed disdain to Parvinder Awana by tonking him to a massive six. Before that Gayle reached to his half century cutting Awana for a boundary.
Kohli joined the party in the next over, belting Abhishek Nayar for a six bringing 100 runs partnership with Gayle in 14th over. Gayle then smacked him for a six.
Seasoned campaigner Mahmood brought relief for his side by breaking Gayle-Kohli partnership of 118 runs.
He had Gayle caught at deep midwicket by Miller after he had scored 71 runs off 42 balls with four hits to the fence and as many over the ropes.
RCB quickly lost another wicket in Kohli when Chawla came back strongly in the 17th over.
In an attempt to raise the tempo, de Villers fell to Mahmood after scoring seventeen off thirteen balls. He was caught by Chawla at long on.