Chittagong, Bangladesh:Malinda Warnapura and Tillakaratne Dilshan hit half-centuries to turn around the early trend of the second Test and put Sri Lanka in a good position against Bangladesh on Day 1 on Saturday.
Bangladesh paceman Mashrafe bin Mortaza took two early wickets to give the home side the initiative, but Sri Lanka steadied to move to 229-5 by tea.
Mortaza first trapped Prasanna Jayawardene lbw for a duck in the first over, then bowled Kumar Sangakkara (5).
The visitors were 7-2 in the third over - a poor start after captain Mahela Jayawardene had won the toss and opted to bat first on a spin-friendly, slow wicket at Chittagong's Divisional Stadium.
Playing in his 100th Test, Mahela Jayawardene (11) steadied the ship somewhat with opener Malinda Warnapura, before Shakib Al Hasan had the captain caught behind.
Opener Warnapura and Thilan Samaraweera batted through to lunch and added another 36 runs in the second session before Samaraweera (19) was bowled by Shahadat Hossain, with Sri Lanka in trouble at 75-4.
Then a 119-run fifth wicket stand between Warnapura and Dilshan put Sri Lanka in command. The runs were scored at a good clip, with the visitors adding 164 runs in just 30 overs of the second session.
Bangladesh captain Mohammad Ashraful finally ended the partnership, trapping Warnapura lbw for 63, which came off 151 balls with six boundaries. It was his fifth Test half-century.
Dilshan (95) and Chamara Kapugedara (26) were at the crease at tea.
Dilshan's 13th fifty in his 50th Test match came off only 37 balls with eight fours and a six.
Sri Lanka made three changes after winning the series opener, replacing Rangana Herath, Dammika Prasad and Michael Vandort with Chamara Kapugedara, Dilhara Ferdando and Ajantha Mendis, who missed the first Test due to injury.
Bangladesh brought in spinner Enamul Haque in place of Mahbubul Alam.