Kumar Sangakkara struck his maiden triple hundred and became the ninth batsman to score 11,000 Test runs as a dominant Sri Lanka seized full control of the second and final Test against Bangladesh.
Sri Lanka first innings 102
D Karunaratne c M'ullah b Al-Amin 31
K Silva lbw b Gazi 11
K Sangakkara c Gazi b Nasir 319
M Jayawardene lbw b Mahmudullah 72
D Chandimal c Kayes b Shakib 27
A Mathews b Shakib 5
D Vithanage lbw b Nasir 35
K Perera lbw b Shakib 1
A Mendis lbw b Shakib 47
S Lakmal lbw b Shakib 0
N Pradeep not out 4
Extras: (b 21, lb 6, w 2, nb 1, pen 5) 35
Total: (all out; 156.4 overs) 587
Fall of wickets 1-39, 2-49, 3-227, 4-294, 5-312, 6-402, 7-405, 8-505, 9-533, 10-587
Bangladesh first innings
T Iqbal b Lakmal 0
S Rahman not out 45
I Kayes not out 36
Extras: (nb 5) 5
Total: (1 wicket; 25 overs) 86
Fall of wickets: 1-0
The stylish left-hander (319) was the last Sri Lankan batsman to fall after a marathon 482-ball knock that included 32 boundaries and eight sixes as the tourists amassed 587 before being all out when second day's tea was called.
In reply, Bangladesh reached 86 for one wicket at stumps after losing opener Tamim Iqbal for a duck in the first over of their innings at Chittagong's Zahur Ahmed Chowdhury Stadium.
Shamsur Rahman (45) and Imrul Kayes (36) both survived a dropped chance each to remain unbeaten at close with the hosts still trailing Sri Lanka by 501 runs.
Batting on 286 with number 11 Nuwan Pradeep, Sangakkara hit left-arm spinner Shakib Al Hasan for a four and two sixes off successive deliveries to go past his previous best score of 287 and reach his maiden triple hundred in spectacular fashion.
Sangakkara, 36, was fastest to the 11000 test-run club, having bettered West Indies batting great Brian Lara's record by five innings.
Kithuruwan Vithanage (35) and Ajantha Mendis (47) provided able support to Sangakkara and added 90 and 100 for the sixth and eighth wickets respectively.
All-rounder Shakib completed his 11th five-wicket haul but Bangladesh would require something of a miracle to win the test and square the two-match series after losing the first match in Dhaka by an innings and 248 runs