Rangana Herath reflected on the "privilege and honour" of representing Sri Lanka following his final Test appearance.
The 40-year-old left-arm spinner was unable to enjoy a dream send-off as his side were thumped by 211 runs in the first Test against England in Galle.
Herath was run out to bring the contest to an end on day four, but he was still able to look back with immense pride on a five-day career that yielded 433 wickets - the eighth-highest figure in Tests.
"In this scenario, it's a bit of an emotional situation. But everybody has to take a decision at the right time," Herath told Sky Sports shortly after leaving the field to a warm ovation.
"I'm thankful for all those years that I have played, those people who have been behind me, especially the team-mates, Sri Lanka Cricket, all the people. I must thank every single person behind me.
"It's been a privilege and an honour to play for my country. In Sri Lanka, we have 22 million people. Very few people get the opportunity to play for Sri Lanka, so it's a remarkable achievement for any player.
"Of course, I'm so proud playing for Sri Lanka, especially in this team. Cricket has given me a lot, I have a lot of respect for the game."
Although Sri Lanka were well beaten in Galle, Herath - who intends to play on in first-class cricket - spoke with optimism about the team's future.
"Of course, as always, losing is not a good result for any team, but this is part of the game," he added. "We didn't play the cricket we used to play. Hopefully the guys will come back strongly for the second and third [Tests].
"I'm 100 per cent confident in the talent we have. If you take the recent past against South Africa, against Australia, we have had a very good winning mindset. We need to get that back. I'm sure the guys will do."
|Morris blasts drama surrounding Wizards: It´s messed up|
|Scaloni thrilled for Dybala, Icardi|
|Green´s last-second shot keeps Raptors atop East standings|
|Deschamps praises Griezmann for Giroud gesture|
|Warriors star Curry improving, still out at least three more games|
|Chile 4 Honduras 1: Sanchez, Vidal shine for La Roja|
|Argentina 2 Mexico 0: Icardi, Dybala score first international goals|
|Mickelson calls Tiger the greatest of all time|
|Durant fined $25,000 for using inappropriate language|
|Fizdale isn´t concerned about Knicks´ losing streak|
|No particular concern for Mbappe – Deschamps|
|PSG team-mate Choupo-Moting hopes Neymar injury is not serious|
|McLeish marvels at stylish Scotland´s promotion success|
|Draw proves Poland can play well without Lewandowski – Brzeczek|
|Giggs: Wales let themselves down|
|Sarachan ´moved USA forward´ in interim spell|
|Mickelson lays $200,000 bet with Woods for first hole|
|Dolphins QB Tannehill to start against Colts|
|Murcia edge out Banvit, Bonn crush Opava|
|Neymar injury not serious, says doctor|
|Mancini: Italy ahead of schedule|
|France 1 Uruguay 0: Giroud hits the spot after Mbappe injury blow|
|Portugal 1 Poland 1: Milik penalty salvages precious point as Danilo sees red|
|Italy 1 United States 0: Politano snatches late winner for Mancini´s men|
|Scotland 3 Israel 2: Forrest hat-trick seals Nations League promotion|
|Brazil 1 Cameroon 0: Richarlison fills Neymar´s boots as skipper suffers injury|
|France & PSG star Mbappe suffers shoulder injury|
|Albania 1 Wales 0: Gunter´s night spoiled by Balaj|
|Leeds and Manchester United to meet in friendly|
|Outspoken Smith leaves Cavaliers|
|PSG star Neymar injured for Brazil|
|Juventus midfielder Can back in training after surgery|
|Rams-Chiefs rollercoaster was the NFL´s modern-day masterpiece|
|Ronaldo an AC Milan target in 2017, confirms Fassone|
|Farah could get back on track at Tokyo Olympics|
|PSG still waiting on Alves and Kurzawa|
|Atalanta reject Gasperini to AC Milan speculation|
|Edmonton Oilers name Hitchcock new head coach|
|JR Smith on Cleveland Cavaliers: Tanking ´was always the plan´|
|Chester signs new Wakefield deal|
|F1 Raceweek: Countdown on to Alonso farewell|
|Rain disrupts Lorenzo´s Honda debut|
|VAR a possibility for Champions League knockout rounds|
|FFP vulnerable in areas, says UEFA president Ceferin|
|Sri Lanka draft in uncapped Peiris to replace Dananjaya|
|Coman back in Bayern training but Lewandowski has knee injury|
|Qalandars land De Villiers in PSL draft, Smith second pick|
|F1 changes helped less talented drivers on the grid - Alonso|
|Agnelli: No super league talks since 2015|
|I hope from now on it only gets better - Floersch update on horror crash|
|Calf injury rules Ashton out of Australia match|
|Halfpenny to miss South Africa clash|
|Hard for Lazio to hold on to Milinkovic-Savic, says Lotito|
|Australia´s next generation pay tribute to retiring Cahill|
|Bairstow pushing hard for Test recall|
|Cane eyes 2019 Super Rugby return after neck break|
|Van Dijk finds time to console referee during Dutch delight|
|Cahill sheds tear at end of phenomenal Australia career|
|WATCH: Pelicans coach Gentry interviews himself|
|Where does Chiefs-Rams classic rank among NFL´s highest-scoring matches?|
|Australia 3 Lebanon 0: Boyle bags brace on Cahill farewell|
|Guendouzi underlines desire to represent France|
|I might need a couple of drinks to relax after that! - Rams coach McVay|
|Juventus´ Alex Sandro has Premier League ambition|
|Ederson taking goalkeeping to another level, says City hero Weaver|
|Ceferin dismisses "super league" plans as fiction|
|Rams defeat Chiefs in one of the highest scoring games in NFL history|
|Kemba Walker leads Hornets to win over Celtics|
|Gomez praises ´top player´ Van Dijk, Stones|
|Cricket Australia to maintain Smith, Warner ball tampering bans|