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."
|Barcelona seal €86m De Jong deal|
|Vietnam v Japan: Moriyasu happy to keep doing just enough|
|Hendricks, De Kock and Steyn join up with Proteas squad|
|Lorenzo excited for ´new level´ at Repsol Honda|
|Fernando replaces injured Pradeep in Sri Lanka squad|
|China v Iran: Queiroz wants to exorcise 2015 quarter-final|
|Balotelli joins Marseille until the end of the season|
|Emery gives Monchi ringing endorsement amid Arsenal sporting director links|
|Larry Fitzgerald returning to Cardinals on one-year deal|
|Watson absence ´an opportunity´ for Scotland hopefuls, says Townsend|
|Pochettino open to new signings but Janssen to remain a Spurs outcast|
|´No trace´ of aircraft so far in Sala search|
|Pochettino will not judge Sarri for criticising Chelsea players|
|From front row to four in a row - Best takes on Farrell at Connect 4|
|Hazard an individual, not a leader - Sarri urges Chelsea star to do more|
|Broad left out of England team for first Test|
|Higuain set to sign for Chelsea but won´t face Tottenham – Sarri|
|McGillvary injury blow for Giants|
|Solari praises Marcelo amid exit rumours|
|A-League Review: Joy and pain for De Jong as Sydney close gap|
|Halfpenny, Davies and Williams set to miss France clash|
|India to rest Kohli from back end of New Zealand tour|
|The hand is good - Farrell expects to be fit to face Ireland|
|Martinez leaves Arsenal for Reading loan|
|Beckham becomes Salford City shareholder|
|Maradona hopes Sala will be found alive|
|Djokovic will not discuss potential Nadal showdown yet|
|A Federer-Nadal double? Even historic scalps may not be enough for Tsitsipas|
|Raonic to assess knee injury, hopes to avoid surgery|
|Barcelona right to fine ´complicated´ Dembele, says Ter Stegen|
|Higuain and Piatek on the move on busy day for Milan|
|Philippe and Vince humble the Hurricanes|
|Nishikori: I couldn´t beat anybody on one leg|
|Boateng poised for debut as Barcelona axe Suarez|
|Shami sets record in crushing win after sun stops play|
|Sala search focused on possible use of life raft|
|Pouille exceeds own expectations with run to Aus Open semis|
|Nishikori retirement sees Djokovic through to semi-finals|
|A golden boy, a guy you want to love - Delecroix pays emotional tribute to Sala|
|Richardson, Patterson to make Australia debuts against Sri Lanka|
|Police resume search for missing Sala plane|
|Pouille upsets Raonic to reach Australian Open semis|
|Dunk sees Stars past Strikers|
|How Serena gave up 5-1 lead – the key moments of loss to Pliskova|
|Pliskova enjoys ´best comeback´ after stunning Serena|
|Serena not blaming ankle injury for Australian Open loss|
|Mavericks capitalise on Clippers´ turnovers, pick up win in Smith´s return|
|Pliskova saves four match points to stun Serena with comeback win|
|Anthony ´can only make´ a team better, says Iverson|
|Henry more worried about Monaco´s future than his own|
|Osaka powers past Svitolina in Melbourne|
|Harden on Anthony trade: It kind of sucks that it didn´t work out|
|Redskins remain ´optimistic´ QB Alex Smith will play again|
|Patriots coach Belichick says Rams´ Donald is ´pretty much unblockable´|
|PSG fined €100,000 by LFP over player-recruitment practices|
|I´m not his father - Guardiola demands Mendy matures|
|Sykes record in vain as Banvit claim victory|
|Usain Bolt calls time on football career|
|Otamendi not happy at Man City, says Guardiola|
|Workaholic Woods learning to rest as he prepares for 2019 debut|
|Henry´s Monaco dumped out of Coupe de France|
|Qatar can win Asian Cup, says Sanchez|
|Tim Howard to retire following 2019 MLS season|
|Koscielny backs Bellerin to return from injury ´stronger than before´|
|Chiefs fire DC Bob Sutton after AFC Championship loss to Patriots|
|Reyes returns to Spain with second-tier strugglers Extremadura|
|Emiliano Sala: Profile of Cardiff City striker missing after joining from Nantes|
|Messi rested for Sevilla trip, Boateng set for debut|
|Nuno fined over pitch celebration in Leicester win|
|Nadal unfazed by another Next Gen opponent in Tsitsipas|