Chasing 299, Dhoni scored his highest score of 183 off 145 deliveries and smashed a six off the last ball to finish the match.