Sri Lanka were 247 for three in their second innings when stumps were drawn on the fourth day of the second test against Australia on Monday.
Chasing 507 for an unlikely win, Sri Lanka gave themselves a chance of at least salvaging a draw after Kumar Sangakkara made an unbeaten 109 and Marvan Atapattu scored a defiant 80.
The pair shared a 143-run partnership for the second wicket before Australian fast bowler Brett Lee dismissed Atapattu and Sri Lankan captain Mahela Jayawardene in successive balls to swing the match back in his team's favour.
Sri Lanka were sent into bat 45 minutes before lunch when Australia declared their second innings closed at 210-2 just after Ricky Ponting had completed his own half-century.
Ponting had resisted the option to enforce the follow-on the previous night to give his bowlers a rest before the final innings with the Bellerive Oval pitch still suited to batting.
Australia won the first of the two-match series by an innings and 40 runs in Brisbane last week.