Pakistan, Oct. 15 -- The first Test between Pakistan and South Africa was set for a thrilling conclusion after rival spinners Noman Ali and Senuran Muthusamy wrought destruction on day three in Lahore on Tuesday.

Muthusamy took a maiden 10-wicket match haul to help bowl Pakistan out for 167 in their second innings on another day dominated by spin to give South Africa a target of 277 for victory.

But Noman, following up his 6-112 in the first innings, dismissed captain Aiden Markram for three and Wiaan Mulder (nought) to keep the visitors down to 51-2 at the close.

Ryan Rickelton, 29 not out, and Tony de Zorzi, unbeaten on 16, fought till stumps with South Africa needing another 226 runs.

Pakistan need eight wickets for a 1-0 lead in t...