CAPE TOWN (Reuters) - South Africa and India drew the third and final test at Newlands Thursday to also share the spoils 1-1 in an enthralling series between the world's top-ranked test teams. The final day finished with India, who needed 340 to win in 90 overs, reaching 166 for three. Virender Sehwag's dismissal for 11, caught in the slips off Morne Morkel, effectively ended any ideas India had of tackling their daunting run-chase, and South Africa's enthusiasm was also cooled by Gautam Gambhir's staunch resistance. The left-hander produced a top-class display of gritty defence as he scored 64 in four-and-a-half hours before gloving a lifter from Dale Steyn down the leg side, wicketkeeper Mark Boucher taking a good diving catch. Gambhir found a perfect partner for his match-saving antics in Rahul Dravid, who plodded to a dogged 31 against a South African attack that looked ill-equipped to take advantage of a wearing pitch. Sachin Tendulkar (14 not out) and Vangipurappu Laxman (32 not out) then batted together for the last 82 minutes before play was called off eight overs early as the captains agreed there was no prospect of an outright result. Morkel, Steyn and Lonwabo Tsotsobe took a wicket apiece, while left-arm spinner Paul Harris bowled 30 overs without success as he failed to make the same use of the rough Indian off-spinner Harbhajan Singh had relished on the fourth day. Scorecard SOUTH AFRICA, first innings: 362 INDIA, first innings: 364 SOUTH AFRICA, second innings: 341 INDIA, second innings: G Gambhir not out 62 Sehwag c Smith b Morkel 11 Dravid c Prince b Tsotsobe 31 Tendulkar not out 14 Laxman not out 32 EXTRAS: (b-7 w-5 nb-2) 14 TOTAL: (three wickets, 82 overs) 166 Fall of wickets: 1-27 2-106 3-120 BOWLING: Steyn 18-6-43-1 (1w) Morkel 15-6-26-1 (2nb) Tsotsobe 13-4-29-1 Harris 30-19-29-0 Smith 4-0-27-0 Petersen 2-0-5-0.