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."
|Mickelson maintains Desert Classic lead|
|Klopp dismisses Coutinho rumours|
|Osaka completes stunning comeback in Melbourne|
|Lakers guard Rondo cleared for full-contact practices|
|Solskjaer: Lukaku is big part of Man United squad|
|Napoli slam FIGC decision to reject Koulibaly appeal|
|We´re the hunters! - Kovac´s Bayern ready to chase down Dortmund|
|Chiefs safety Reid expected to play against Patriots|
|Chelsea not ready to rest Jorginho - Sarri|
|NFL receiver Fitzgerald has hole-in-one in round of golf with former president Obama|
|I´m really loving playing this game - Eagles QB Foles not ready to retire|
|Saints show no mercy, score 111 in rout of Timisoara Saracens|
|CAF Champions League Review: Khenissi double gets ES Tunis up and running|
|Edinburgh clinch home quarter-final, Glasgow also advance to last eight|
|Hazlewood to miss Sri Lanka Tests with back injury|
|Norwich City 3 Birmingham City 1: Canaries end winless run to go second|
|Hoffenheim 1 Bayern Munich 3: Goretzka goals close gap on Bundesliga´s return|
|Cowboys part ways with offensive coordinator Linehan|
|Payton´s message to Saints fans: Hurry up and make noise|
|Transfer talk no distraction for Inter, says Spalletti|
|Memories of 2015 still linger for Vunipola as England begin World Cup year|
|De Bruin´s 85th-minute try consigns Kings to eighth straight loss|
|Bielsa´s Derby County dossier detail ´pretty standard´ – OptaPro chief|
|Injury-hit Madrid lose Navas to adductor issue|
|Patriots coach Belichick still gets nervous ´every week´|
|Copa del Rey draw: Barcelona to meet Sevilla in quarter-finals|
|Kohli: No one more committed to India than Dhoni|
|Brook questions Khan credibility following Crawford agreement|
|Sad Pochettino admits Bielsa is ´wrong´|
|Simeone eyes LaLiga gain after Atletico´s Copa del Rey pain|
|Rossi a no-go for Tottenham as Pochettino rules out panic buys|
|Guardiola identifies ´three or four´ midfield targets|
|Nadal encourages patience in young stars after humbling De Minaur|
|NFL playoffs 2019: 10 Opta facts for Patriots v Chiefs|
|Robertson helping Klopp learn Scottish for Dalglish chats|
|Levante appeal over alleged ineligible Barcelona player rejected|
|NFL Playoffs 2019: 10 Opta facts for Rams v Saints|
|Lowry to take three-shot Abu Dhabi lead into final round|
|Training is not for anyone else - Klopp condemns Bielsa over ´spygate´ row|
|In other countries, everybody does it - Guardiola respect remains for spying Bielsa|
|Cilic battles back to join Nadal, Federer in fourth round|
|Klopp: Trent unbelievable for playing through pain|
|Faulkner provides super start and fabulous finish to sink Scorchers|
|Ref admits error in key foul call on Lonzo Ball in Lakers-Thunder game|
|Marina Granovskaia is working very hard – Sarri ´confident´ of January signings|
|Tuchel confirms Rabiot out of PSG contention|
|Madrid derby kick-off confirmed for February 9|
|Benzema fit to face Sevilla despite broken finger, Solari confirms|
|Bournemouth boss Howe says no offers received for Wilson|
|Kerber cruises after Wozniacki, Sabalenka upsets|
|Mbappe a great player and great person, says beaming Beckham|
|Gracia confident someone will step up if Doucoure leaves for PSG|
|Albrighton signs new Leicester deal|
|Niasse joins Cardiff on loan from Everton|
|Hendrick credited with Fulham strike|
|Western Sydney Wanderers 1 Adelaide United 2: Goodwin compounds Wanderers woes|
|Chahal and Dhoni carry India to ODI triumph|
|Levante report Barcelona for alleged use of ineligible player in Copa del Rey|
|Solskjaer regrets Sanchez´s Reading setback|
|Tomic brands Hewitt a ´liar´ as feud continues|
|Ruthless Nadal thrashes teenager De Minaur|
|Wozniacki enjoyed status as defending champion in Melbourne|
|Solskjaer backs Mourinho to return to football´s big time|
|Murray to miss Open 13 Marseille|
|Solskjaer´s United turnaround no easy task, says Hughton|
|The big Friday Premier League quiz|
|How James Harden´s 2018-19 numbers compare to his MVP campaign|
|It´s insane! - Tsitsipas excited to face ´legend´ Federer|
|Sharapova ends Wozniacki title defence|
|American teen Anisimova sends records tumbling at Aus Open|