Second Test, Colombo (PSS), day four (close): South Africa 361 & 311 v Sri Lanka 321 & 262-5
Sanath Jayasuriya and captain Mahela Jayawardene made contrasting fifties to take Sri Lanka within 90 of beating South Africa in the second Test.
Jayasuriya hit three sixes in an explosive innings
Chasing a national record 352 to win, Jayasuriya hit 73 from 74 balls.
His dismissal brought in Jayawardene, whose unbeaten 77 took twice as long, Sri Lanka reaching 262-5 by the close.
Earlier, Muttiah Muralitharan equalled his own record of four consecutive 10-wicket hauls as South Africa were bowled out for 311 in the first hour.
The off-spinner finished with 7-97 by taking the last three batsmen.
Mark Boucher made 65, adding 29 valuable runs for the last wicket with Mahkaya Ntini, who remained unbeaten on five.
Muralitharan's 12-225 follows his match haul of 10-172 in the previous Test and 11-132 and 10-115 against England in Nottingham and Birmingham earlier in the year.
The 34-year-old's earlier feat of four successive 10-wicket hauls came at home during the 2001/02 season.
Sri Lanka's most successful chase so far has been 326-5 against Zimbabwe in 1997/98.
Despite losing opening partner Upul Tharanga for a duck, Jayasuriya started the chase aggressively, reaching his 30th Test half-century by hoisting Shaun Pollock for six.
Pollock, who at one point opted to bowl off-spin, broke his partnership with Kumar Sangakkara (39) with the total at 94.
But Sri Lanka suffered the biggest blow when Jayasuriya was dismissed.
Left-arm spinner Nicky Boje turned one from the rough and the ball brushed the batsmans glove, giving Hashim Amla a comfortable catch at short leg.
Boje struck twice in the evening session with the wickets of Tillekeratne Dilshan and Chamara Kapugedara.
Jayawardene was dropped by Herschelle Gibbs at gully off Andrew Hall when he was on two but settled in to hit seven fours and two sixes.
Wicket-keeper Prasanna Jayawardene kept his captain company at stumps on 27, the pair having put on 61 for the unbroken sixth wicket.
Ntini pulled a hamstring and was restricted to just just two overs after lunch but he is expected to be fit to resume bowling on the final day.
Star spinner Muralitharan feels he can continue to take wickets after his latest 10-wicket haul set up his team for a chance of victory.
"I believe that I am mentally strong," he said. "When I am strong mentally it tells the body to go on and that is how I have been able to bowl in this heat for a long
"I think sport is mental more than physical. I am also somebody who gets
motivated by standards I set for myself and not records."