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."
|Capital gains for Zverev as he secures last-four spot in London|
|Jones-Buchanan, Ablett and Briscoe sign new Rhinos deals|
|Root leads from the front as aggressive England assume control|
|Croatia´s Lovren antagonises Ramos and ´rude´ Spain|
|Rakitic has ´enormous respect´ for England ahead of Nations League decider|
|Ireland make flanker switch with Leavy out of All Blacks clash|
|Pakistan rip through Black Caps in Abu Dhabi|
|WATCH: Barcelona mark 15-year anniversary of Messi´s first match|
|Sterling, that you? - Walker uses falling fan to poke fun at England team-mate|
|Fleetwood applies pressure on Molinari, Wallace leads in Dubai|
|Don´t talk to me about VAR – Rakitic not over World Cup final loss|
|Van Dijk leadership essential for Liverpool – Wijnaldum|
|Dalic: Croatia´s bench was ready to stop Spain!|
|Sublime Root century gives England imposing lead|
|Vinicius appreciates Solari influence at Real Madrid|
|Havertz would suit Bayern Munich – Kimmich|
|Wilder: Roach recruitment a sign of Fury nerves|
|Ranieri targets defensive improvements at failing Fulham|
|PSG close investigation into player recruitment practices after finding no discrimination|
|Mayweather: Nasukawa exhibition back on|
|Witsel: Joining Borussia Dortmund my best career decision|
|Ballon d´Or win would not change Modric´s ´best year´|
|Ireland v New Zealand: Opta stats behind the meeting of the world´s top two|
|The Breakdown: A statistical look at Saturday´s rugby internationals|
|Batshuayi dismisses reports of Valencia departure|
|Brazil must make Copa America final – Tite|
|Rockets rout Warriors as Green goes scoreless|
|Seahawks rally past Packers|
|Lakers G Rondo to miss 4-5 weeks|
|Durant is done with questions about Green|
|Smith, Warner set to return to IPL in 2019|
|No rivalry between Mbappe and Griezmann – Deschamps|
|Neymar: Emery will bring success to Arsenal|
|Jedvaj backs Croatia to deliver against England|
|Howell grabs first-round lead at Sea Island|
|Rooney backing Kane to break England record|
|Betts named American League MVP|
|Republic of Ireland must improve, says under-pressure O´Neill|
|Injured Sergio Ramos to leave Spain squad|
|Yelich named National League MVP|
|Low praises ´beautiful goals´ from Sane and Gnabry|
|Belgium boss Martinez pleased with patient Batshuayi|
|Wilson and Sancho pay tribute to England ´legend´ Rooney|
|Rooney gave England squad a lesson in humility - Southgate|
|This Week in U.S. Sports: LeBron passes Chamberlain, Williamson looking like he is next|
|We still have a chance - Luis Enrique not giving up hope after Spain defeat|
|Rockets ´parting ways´ with Anthony|
|Rooney became ´embarrassed´ at Manchester United|
|Federer: ´Easier´ to play when I´m up against it|
|Rooney convinced England are in safe hands with Southgate|
|Black Caps skipper Williamson confident over first Test availability|
|Federer cruises into last four of ATP Finals for 15th time|
|Republic of Ireland 0 Northern Ireland 0: Randolph saves light up bore draw|
|England 3 United States 0: Experimental side impresses on Rooney farewell|
|Croatia 3 Spain 2: Jedvaj keeps World Cup finalists in contention|
|Belgium 2 Iceland 0: Batshuayi rekindles Hazard flame with match-winning brace|
|Germany 3 Russia 0: Sane on target as Low´s men stroll|
|´Fancy taking a look at Brexit?´ - Southampton credit Austin with VAR breakthrough|
|Green: Altercation with Durant will make Warriors stronger|
|Juventus star Dybala dismisses Manchester United links|
|Strinic given all clear to return to AC Milan training|
|Papier wait over as scrum-half starts for Springboks|
|MLB commissioner Manfred gets five-year extension|
|South Africa international Du Preez joins brother at Sale|
|Pogba and Sterling support my football dream, says Bolt|
|Asensio wants to ´feel more important´ at Real Madrid|
|Former Roosters and Cowboys centre Linnett joins Hull KR|
|New team tournament ATP Cup wins Djokovic´s approval|
|Roma and Pallotta donate €150,000 to injured Liverpool fan Sean Cox|
|England captain Root reprimanded on frustrating day in Pallekele|