Bangladesh ended the penultimate day of the Galle Test as the happier of the two sides thanks to opener Shadman Islam's 76 and skipper Najmul Hossain Shanto's unbeaten 56 as the visitors have reached 177-3 at stumps to lead Sri Lanka by 187 runs heading into the final day.
The 40-year-old was indicted before the High Court in the southern city of Hambantota on match-fixing charges relating to a local tournament in 2020.
Mathews, who made his Test debut at the same venue against Pakistan in 2009, has been a cornerstone of Sri Lankan cricket for over 15 years, excelling as both an all-rounder and a leader.
This series win crowns a strong three months for Sri Lanka under new head coach Sanath Jayasuriya.
Sanath Jayasuriya was appointed Sri Lanka cricket head coach on Monday, replacing Chris Silverwood who quit following the country's early exit from the T20 World Cup.
Shanaka, who led Sri Lanka to victory in the 2022 T20 Asia Cup, was replaced as captain by Wanindu Hasaranga in December following the team's poor showing in the last three white-ball World Cups.
Sri Lanka were in dire straits at 6-3 after skipper De Silva won the toss, losing their first three wickets for no runs in 10 balls.
Dilshan Madushanka has been named as Thushara's replacement in the squad while Asitha Fernando has been named as Chameera's replacement.
The 26-year-old all-rounder quit following Sri Lanka's early exit from the T20 World Cup in June.
Shanaka injured his right thigh muscle during Sri Lanka’s match against Pakistan on Tuesday.
"The World Cup victory was the biggest curse for our cricket," Ranatunga said
Dushmantha Chameera led Sri Lanka's fiery fast bowling display against the United Arab Emirates with three wickets in the T20 World Cup in Geelong on Tuesday as the former champions got their campaign back on track with a comprehensive 79-run win.
Australian former international Tom Moody is set to leave his post as Sri Lanka's director of cricket, officials said on Monday, weeks before the T20 World Cup.
Dasun Shanaka's Sri Lanka beat Pakistan by 23 runs in Dubai on Sunday to clinch their sixth Asia Cup.
Bhanuka Rajapaksa on Sunday said Sri Lanka's cricket has proved a point to the world with their sixth Asia Cup title after his unbeaten 71 set up a commanding 23-run win over Pakistan.
Batsman Bhanuka Rajapaksa said Sri Lanka have shaken off their underdogs tag and proved they can challenge at next month's T20 World Cup, after beating India to stand on the verge of the Asia Cup final.
Powerful innings by Kusal Mendis and skipper Dasun Shanaka helped Sri Lanka pull off a thrilling two-wicket win over Bangladesh to make the Asia Cup Super Four stage on Thursday.
Sri Lanka's resounding 246-run victory over Pakistan in the second Test in Galle has seen them break into the top five of the ICC World Test Championship standings.
Dhananjaya de Silva hit a towering century as hosts Sri Lanka handed Pakistan a mammoth victory target of 508 in the second Test on Wednesday