South Africa heading for victory in 1st test vs. Pakistan

South Africa's batsman Dean Elgar watches his shot being field off on day three of the first cricket test match between South Africa and Pakistan at C

South Africa's batsman Dean Elgar watches his shot being field off on day three of the first cricket test match between South Africa and Pakistan at C

South Africa's batsman Hashim Amla bats on day three of the first cricket test match between South Africa and Pakistan at Centurion Park in Pretoria,

South Africa's batsman Hashim Amla bats on day three of the first cricket test match between South Africa and Pakistan at Centurion Park in Pretoria,

Pakistan's bowler Mohammad Amir gestures to the umpire after unsuccessful appealing for LBW on day three of the first cricket test match between South

Pakistan's bowler Mohammad Amir gestures to the umpire after unsuccessful appealing for LBW on day three of the first cricket test match between South

Pakistan's batsman Shaheen Afridi leaves the field after dismissed by South Africa's bowler Duanne Olivier for 4 runs on day two of the first cricket

Pakistan's batsman Shaheen Afridi leaves the field after dismissed by South Africa's bowler Duanne Olivier for 4 runs on day two of the first cricket

Pakistan's players celebrate the dismissal of South Africa's batsman Aiden Markram, left, for a duck on day three of the first cricket test match betw

Pakistan's players celebrate the dismissal of South Africa's batsman Aiden Markram, left, for a duck on day three of the first cricket test match betw

South Africa's batsman Dean Elgar watches his shot on day three of the first cricket test match between South Africa and Pakistan at Centurion Park in

South Africa's batsman Dean Elgar watches his shot on day three of the first cricket test match between South Africa and Pakistan at Centurion Park in

Pakistan's bowler Hasan Ali, middle, with teammates watches an electronic screen after dismissing South Africa's batsman Aiden Markram for a duck on d

Pakistan's bowler Hasan Ali, middle, with teammates watches an electronic screen after dismissing South Africa's batsman Aiden Markram for a duck on d

Pakistan's bowler Mohammad Amir, left, field off own bowling as South Africa's batsman Dean Elgar makes a turn on day three of the first cricket test

Pakistan's bowler Mohammad Amir, left, field off own bowling as South Africa's batsman Dean Elgar makes a turn on day three of the first cricket test

CENTURION, South Africa (AP) — South Africa was heading for victory in the first test against Pakistan as it reached 81-1 at lunch on Day 3 on Friday, needing another 68 runs to take the lead in the three-match series.

Hashim Amla was 45 not out for his highest test score in his last 11 innings and on course for a first half-century since March as South Africa closed in on the target of 149.

While Amla played himself out of his dip in form, opener Dean Elgar was 32 not out at the other end, having survived a contentious decision early in his innings when a catch was ruled out by the TV umpire.

The home team recovered from the loss of Aiden Markram, who was lbw to Hasan Ali in the second over. South Africa lost its first wicket with no runs on the board to initially give Pakistan hope of defending the modest target.

___

More AP sports: https://apnews.com/apf-sports and https://twitter.com/AP_Sports