He swung his bat around before holing out at third-man attempting an upper-cut.
Karunaratne and Thirimanne have batted beautifully on the day.
Sri Lanka would rue the fact that they let go off the advantage that they had.
The hosts still trail New Zealand's score by 22 runs.
New Zealand's fortunes on day-2 will depend a lot on Ross Taylor.
The 29-year old has achieved this feat on the 71st Anniversary of Don Bradman's infamous duck in the last inning of his career.
Mahela also revealed his favourite social media platform.
All the key stats and numbers ahead of New Zealand’s first Test series in Sri Lanka in seven years.
The Black Caps have lost all their three Tests in Galle. Overall, they have won four out of 15 Tests in Lanka.
Both these teams will have some tough choices to make as far as their Playing XIs are concerned.