However, David Warner couldn't finish his international career on high as Australia failed to qualify for the semifinal as they were knocked out in Super 8 stage of the tournament.
The 37-year-old had a decent outing with the bat, scoring 178 runs, including two half-centuries, at an average of 29.66 and 139.06 in seven matches.
Taking to his Instagram handle, David Warner felt honoured to have represented Australia in over 100 matches of all three formats of the game. He thanked his family, especially wife and three daughters for their 'sacrifice' and had a message for the fans.
"Chapter closed!! It's been an unbelievable experience to play at the highest level for such a long period. Australia was my team. The majority of my career was at the international level.
It's been an honor to be able to do this. 100+ games in all formats is my highlight." Warner wrote on Instagram.
"I want to say thanks to everyone out there who has made this possible. My wife and my girls, who sacrificed so much, thank you for all your support. No person will ever know what we've been through.
"For all the cricket fans out there, I truly hope I have entertained you and changed cricket, especially tests, in a way where we scored a bit faster than others. We cannot do what we love without the fans, so thanks," he added.