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."
|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|
|Lakers survive Ball´s gaffe to beat Thunder in OT|
|Federer expects ´athletic´ and ´attacking´ Tsitsipas clash|
|Alcacer is fit and available – Favre|
|Fantastic Federer breezes past Fritz|
|Pogba happy with Man United approach under Solskjaer|
|Mickelson leads Desert Classic, ties career-low with 12-under 60|
|Warriors´ Durant on Curry: He´s a once-in-a-generation, once-in-a-lifetime talent|
|Patriots owner says Brady is greatest player, not just quarterback, of all time|
|Inglis to retire from representative duty this year, NRL in 2020|
|Is Beal better without Wall? Wizards star says it´s ´absolutely nonsense´|
|Rockets C Capela undergoes thumb surgery, expected back after All-Star break|
|This Week in U.S. Sports: Irving apologises, Machado´s agent isn´t happy|
|Knicks in woeful shape, but 2019 could still be bright in New York|
|Valverde not worried about Levante´s Copa appeal|
|Nowell an option for England at flanker, reveals Jones|
|Pellegrini: Arnautovic available for the right price|
|Knicks throw away 19-point lead and lose on last-second goaltending call|
|Tebow invited back to Mets´ major league spring training|
|Canelo and Jacobs agree unification fight|
|Barcelona 3 Levante 0 (4-2 agg): Dembele at the double as Barca advance|
|Levante to lodge complaint over Barcelona Copa selection|
|Kanter´s London absence ´very unfortunate´, says NBA commissioner|
|NBA could swap London for Paris in 2020|
|Spurs coach Popovich uncertain if he will return next season|
|Pistons´ Griffin fined for verbal abuse of official|
|Everton do not have financial conditions to enter transfer market - Silva|
|Andy Cole joins Sol Campbell´s coaching staff at Macclesfield|
|Atletico confirm Saul has thigh injury|
|Wood replaces injured Stone in England squad|
|Lebanon 4 North Korea 1: Disciplinary record cruelly denies Radulovic´s men|
|Saudi Arabia 0 Qatar 2: In-form Ali bags brace as Qatar top group|
|Robertson signs new Liverpool deal|
|Vunipola backs Farrell to thrive in solo leadership role|
|People don´t know what´s going on behind the scenes - Mourinho defends United stint|
|Indefatigable Muguruza knocks out Konta at 3:12am|
|Serena coasts, difficulties for Halep and Muguruza´s marathon|