South Africa held its nerve as fast bowler Lungi Ngidi defended seven off the last over for a tense one-run win over England in the first Twenty20 on Wednesday.

Ngidi took two wickets in that last over as England fell just short. Needing three runs off the last ball to win, and two to tie and force a Super Over, Adil Rashid got one and was run out coming back for the second.

More Images
Ben Stokes of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

South Africa held its nerve as fast bowler Lungi Ngidi defended seven off the last over for a tense one-run win over England in the first Twenty20 on Wednesday.

Jason Roy of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

England went from long shots to odds-on favorites to win before the last-over drama at Buffalo Park in East London.

Jason Roy of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

England was still expected to pull it off and get seven off the last over.

Lungi Ngidi of South Africa reacts after taking a wicket during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Ngidi finished with 3-30 off his four overs and also had the key wicket of Ben Stokes for 4 earlier. Stokes, Jos Buttler and fast bowler Mark Wood were all recalled to the England team having sat out the ODI series, which was shared 1-1.

Jason Roy of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Opener Jason Roy blasted 70 off 38 balls to give England a flying start. His half-century came off just 22 balls, the second-fastest by an England player in T20s behind Morgan.

David Miller of South Africa, left, and Lungi Ngidi of South Africa, centre right, celebrate Ben Stokes of England wicket during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

There was more drama surrounding the dismissal when TV umpire Allahudien Paleker wanted to check replays to see if bowler Beuran Hendricks had overstepped for a no-ball.

Dwaine Pretorius of South Africa leaves the field after losing his wicket during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Dwaine Pretorius of South Africa leaves the field after losing his wicket during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

England celebrate the wicket of Rassie van der Dussen of South Africa during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

England celebrate the wicket of Rassie van der Dussen of South Africa during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

England finished on 176-9 chasing South Africa's 177-8.

Ben Stokes of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Ben Stokes of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

England went from long shots to odds-on favorites to win before the last-over drama at Buffalo Park in East London.

The tourists needed a testing 23 off the last two overs but captain Eoin Morgan hit three successive boundaries — four, four and six — to make it a much more manageable seven off seven balls.

But England lost some of that momentum when Morgan went for a fourth straight boundary down the ground off the last ball of the second-last over and was caught for 52 off 34 balls.

Jason Roy of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Jason Roy of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

England was still expected to pull it off and get seven off the last over.

New batsman Tom Curran got two off the first ball but then went for a big hit out to midwicket and was caught on the boundary by David Miller.

Ngidi kept it tight and collected his second wicket of the over when he bowled Moeen Ali (5) on the second-last ball with England needing three off the last two deliveries. Then came the Rashid run out.

Jason Roy of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Jason Roy of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Ngidi finished with 3-30 off his four overs and also had the key wicket of Ben Stokes for 4 earlier. Stokes, Jos Buttler and fast bowler Mark Wood were all recalled to the England team having sat out the ODI series, which was shared 1-1.

South Africa started the first game of the three-match T20 series strongly with 43 from Temba Bavuma and 31 from captain Quinton de Kock at the top of the order.

England's bowlers pulled it back and Chris Jordan was — like Ngidi — brilliant at the end for his team with 2-28.

Lungi Ngidi of South Africa reacts after taking a wicket during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Lungi Ngidi of South Africa reacts after taking a wicket during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Opener Jason Roy blasted 70 off 38 balls to give England a flying start. His half-century came off just 22 balls, the second-fastest by an England player in T20s behind Morgan.

Roy was out caught by Ngidi to leave England 132-3 in the 15th over. Joe Denly (3) and Stokes couldn't make much of an impact.

Morgan appeared to have timed England's chase perfectly but his decision to go for that fourth successive boundary backfired when he hit a lofted drive straight to Bavuma at long-on.

Jason Roy of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Jason Roy of England plays an attacking stroke during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

There was more drama surrounding the dismissal when TV umpire Allahudien Paleker wanted to check replays to see if bowler Beuran Hendricks had overstepped for a no-ball.

Paleker, who is South African, eventually decided the delivery was fair and Hendricks had landed with a tiny part of the back of his boot behind the crease. But that decision was highly contentious and the England players in the dugout shook their heads to indicate their disagreement with the crucial call.

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

David Miller of South Africa, left, and Lungi Ngidi of South Africa, centre right, celebrate Ben Stokes of England wicket during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

David Miller of South Africa, left, and Lungi Ngidi of South Africa, centre right, celebrate Ben Stokes of England wicket during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Dwaine Pretorius of South Africa leaves the field after losing his wicket during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

Dwaine Pretorius of South Africa leaves the field after losing his wicket during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

England celebrate the wicket of Rassie van der Dussen of South Africa during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)

England celebrate the wicket of Rassie van der Dussen of South Africa during the T20 cricket match between South Africa and England in East London, South Africa, Wednesday, Feb. 12, 2020. (AP PhotoMichael Sheehan)