South Africa squeezed into the Super League by the narrowest of margins by beating England by one wicket at the Chittagong Divisional Stadium.
South Africa had to win the match to qualify from Group C and looked in control after bowling England out for 189.
But South Africa made hard work of the run chase and it needed a nervy 20-run last wicket partnership to secure the victory.
It means that South Africa and England will play in the Super League while unlucky Nepal, who beat South Africa two days ago, and Uganda go into the Plate Championship.
Six different South Africa bowlers picked up wickets in the England innings as Steven Davies, man of the match against Nepal, was the only batsman to reach 50 before being bowled for 63.
The South Africa reply was anchored by opener Vaughn van Jaarsveld whose 76 runs paved the way for Keegan Africa and Craig Alexander to shepherd the side to victory.
South Africa coach Russell Domingo was relieved with the outcome.
"The bowling and fielding departments are performing to expectations but our batting remains weak," said Domingo.
"The team's performance will have to improve during the next phase of the tournament."
Van Jaarsveld was named man of the match.
More from rediff