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."
|Bears beat Vikings to extend NFC North lead|
|Peng overcomes Davis in Houston final|
|Kerr says this has been his toughest stretch as Warriors coach|
|LeBron scores 51 in Lakers´ win, Warriors fall to Spurs|
|Win more than Djokovic? Let´s chill out – Zverev|
|Steelers´ rally highlights wild day of close, last-minute finishes|
|Modric not worried about Ballon d´Or|
|Saints pull away for blowout victory over Eagles, extend winning streak to nine|
|Martinez laments loss of control by Belgium|
|Logano claims first NASCAR Cup championship|
|Luis Enrique delighted with attitude of Spain´s squad|
|Stevens tells Celtics to get ´tougher´|
|Griezmann: Being Messi´s lieutenant played a part in rejecting Barcelona|
|Curry proud of how Warriors handled Green-Durant incident|
|Courtois: Belgium thought Nations League job was done|
|Howell ends 11-year title drought to deny record-breaking Rodgers|
|Robben dismisses Bayern title talk|
|Huge blow for Redskins as QB Smith breaks tibia and fibula|
|Switzerland 5 Belgium 2: Seferovic treble crowns incredible comeback|
|Titans DC Pees taken to hospital during Colts game|
|Spain 1 Bosnia-Herzegovina 0: Debutant Mendez spares Morata´s blushes|
|Peterson goes sixth on rushing touchdowns list|
|Titans QB Mariota suffers elbow injury|
|Djokovic hails much-improved Zverev|
|Arnautovic refuses to discuss West Ham future after Austria win|
|Redskins QB Smith carted off after gruesome ankle injury|
|Jaguars shut down Jalen Ramsey trade rumours|
|Classy Zverev revels in victory, hails defeated Djokovic|
|Forget the Nations League was ever invented, jokes Northern Ireland boss O´Neill|
|Magnificent Zverev claims ATP Finals title|
|Mahrez double fires Algeria to 2019 AFCON|
|Mbappe hoping for French winner of Ballon d´Or|
|Northern Ireland 1 Austria 2: Last-gasp winner denies hosts maiden Nations League point|
|Teenager admits assaulting Wales great Thomas|
|Browns deny Condoleezza Rice is candidate for head coaching job|
|Koeman: Netherlands not favourites for Germany clash|
|Dalic ´not sad´ but blames fatigue for Croatia relegation|
|Proud Southgate hails England hero Kane as world´s best goalscorer|
|Last-gasp Exeter penalty try shatters Bristol|
|Mbappe dismisses talk of Cavani-Neymar rift|
|Keita will do ´great things´ for Liverpool – Mane|
|Mourinho needs time to fix Manchester United - Veron|
|Southgate sees progress as England reward loyal support|
|Miller hungry to ´knock out a Brit´ after Dinu demolition|
|Yasir, Hasan put Pakistan in control with five-wicket hauls|
|England´s resilience delights Kane as Three Lions secure Nations League Finals spot|
|Kane proves Nations League importance to England in Wembley decider|
|Muller, Hummels still important for Germany, says Low|
|Tevez in line for start in Copa Libertadores final second leg|
|England 2 Croatia 1: Kane able to secure Nations League Finals spot|
|It doesn´t sound real - Molinari stunned by 2018 exploits|
|Wales legend Thomas victim of alleged homophobic attack|
|Marquez crashes again as Dovizioso wins rain-interrupted Valencia GP|
|Warriors owner denies taking sides following Green-Durant spat|
|Alisson can become a global great, says Dida|
|The Sunday Seven - 7 Key Opta facts for NFL Week 11|
|Teen driver ´fine´ after sustaining spinal fracture in F3 crash|
|Willett wins first title since Masters triumph, Molinari tops Race to Dubai standings|
|Southgate overcomes ´stigma´ of being sacked to thrive with England|
|Anthony to Lakers ´not a question for myself´, says LeBron James|
|Warriors´ Stephen Curry staying ´cautious´ with injury recovery|
|Gunter hopes Bale can help family jet in to witness Wales record|
|Root pleased to practice what he preached|
|Tianjin Quanjian threaten action after Modeste returns to Cologne|
|I had to stop Kemba getting 70! – Jimmy Butler reflects on dramatic game-winner|
|Molinari wins Race to Dubai|
|Rooney: Some ex-players can´t come to terms with England doing well|
|In a spin: England´s win against Sri Lanka sets new record|
|Ogier wins sixth straight WRC title|
|Rogic, Kruse to miss Socceroos´ Lebanon friendly|