When stumps were drawn, New Zealand was 177-3, trailing South Africa by 131 runs after the tourists were bowled out for 308 following a lower order batting collapse. The New Zealand captain Kane Williamson was 78 not out at the close, having shared a 102-run second wicket partnership with Jeet Raval , then a tense fourth wicket stand with nightwatchman Jeetan Patel .