Galle: Tillakaratne Dilshan scored a brilliant century as Sri Lanka declared on 259 for 4. New Zealand needing 383 runs on last day to win the first Test on Friday at Galle.
Kiwis's Openar Tim McIntosh out on duck, caught Jayawardene on Kulasekara in first over. Martin Guptill and Ross Taylor on crease at stumps on day 4.
Dilshan has revelled in his new role as opener on his return to cricket after injury, scoring 92 the in first innings and then an entertaining 123 from 131 balls with 12 boundaries and a six.
Sri Lanka were on 259 for four from just 49 overs having earlier bowled New Zealand for 299 after 35 minutes of play in the morning.
The declaration was announced as the players left the field for the tea interval.
Dilshan was supported by a stylish 46 from skipper Kumar Sangakkara, the pair adding 101 after the early fall of opener Tharanga Paranavitana (five).
Mahela Jayawardene scored a brisk 27 before being caught and bowled by Jeetan Patel and Thilan Samaraweera smashed two sixes in his 20-run cameo.
New Zealand's fight to save the opening test was not helped by a stomach bug effecting seven members of the playing eleven.
Wicketkeeper Brendon McCullum and batsman Jesse Ryder were the mostly severely affected and were unable to take the field in the morning.
Jacob Oram, Jeetan Patel, Daniel Flynn, Tim McIntosh and Chris Martin were also affected, team manager Dave Currie said.
Spinner Muttiah Muralitharan finished with four for 73 from 42 overs while seamer Thilan Thushara claimed four for 81 as the Sri Lankans took the last two wickets of New Zealand's innings.
Daniel Vettori was last man out, bowled by Thushara for 42. Sri Lanka captain Kumar Sangakkara allowed the tourists to use reserve wicketkeeper Reece Young in the second innings due to the illness suffered by Ryder, who was originally McCullum's backup.