Bangladesh won the toss and elected to bat on a flat wicket, setting their hosts a below-par 279 to win. South Africa reached 282 without the loss of a wicket and with 43 balls to spare.
The visitors were 66 for three in their second innings at the end of the fourth day's play, with an overall lead of 122 runs.
Nathan Lyon claimed six for 60 to bowl Australia to an emphatic series-equalling seven-wicket victory over Bangladesh in the second and final Test on Thursday.
Australia's Steve Smith is back on top of the list of batsmen in the MRF Tyres ICC Test Player Rankings after India captain Virat Kohli could manage only 21 runs in his two innings in the first Test against New Zealand in Wellington, which his side lost by 10 wickets to concede a 1-0 lead in the two-match series. This is the eighth time that Smith is on top of the rankings after first occupying the top position in June 2015.
Having recorded an improbable victory after defending the lowest-ever score in the history of the game, a confident Indian team would look to go for the kill by completing a 3-0 rout when it meets an out-of-sync Bangladesh in the final one-dayer in Mirpur on Thursday.
Opener Kaushal Silva lived a charmed life on his way to a maiden Test century as Sri Lanka put Bangladesh to the sword with a big first-innings total in the opening Test in Dhaka on Tuesday. At the close of play on the second day, Sri Lanka were 375 for five, a lead of 143 runs.
While their limited-overs side have already savoured victories over the world's top sides, Bangladesh cricket hopes their narrow defeat to England over five days in Chittagong will be a watershed moment for the Test team. Bangladesh sent England crashing out of the 50-over World Cup and entered the quarter-finals for the first time last year, and scored one-day international victories over India, Pakistan and South Africa during a run of six series wins at home.
Playing their 100th Test, Bangladesh, were bowled out for 467 in the final session, leading Sri Lanka by 129 runs, after the 21-year-old Mosaddek became the final wicket to fall for 75.
England's Chris Woakes hit a six off Shafiul Islam to seal a series-clinching four-wicket victory in the third and final one-day international against Bangladesh on Wednesday. Sam Billings justified his selection with his maiden fifty and Ben Duckett registered his second half-century of the series but it was Ben Stokes' unbeaten 47 off 48 balls that helped England pull off a tricky 278-run chase with 13 balls to spare. Put into bat in Chittagong, Bangladesh had posted a strong 277-6 on the back of a string of top order cameos and Mushfiqur Rahim's unbeaten 67 down the order.
Here is a look at all the drama and excitement from Edgbaston on Thursday.
India would be aiming to ensure that a plucky Bangladesh don't run away with the momentum when the two sides clash in the second T20 International, which is facing a cyclonic threat, in Rajkot, on Thursday.
Mohammad Hafeez led Pakistan's strong reply with his third hundred in as many Tests after Bangladesh lost their last five wickets for 27 runs on the second day of the opening Test at Khulna on Wednesday.
Virat Kohli scored a confident 136 and shared a 213-run partnership with Ajinkya Rahane (73) as India cruised to an easy six-wicket victory over Bangladesh in their Asia Cup opener, in Fatullah, on Wednesday night.
Bangladesh secured their maiden Test win against Sri Lanka, and their second against a major Test-playing nation in the last five months, with an eventful four-wicket victory on the final day of the second Test at the P Sara Oval on Sunday.
Rubel Hossain claimed six wickets including a hat-trick as Bangladesh crushed New Zealand by 43 runs in the first one-day international on Tuesday, thereby taking a 1-0 lead in the three-match series.
The last-ball defeat to India in the thrilling World Twenty20 encounter was nothing short of shocking, said a gutted Bangladesh captain Mashrafe Mortaza, who was at a loss to explain the chase that went haywire in the last three deliveries.
Bangladesh closed in on a maiden Test win in Zimbabwe after reducing the hosts to 138 for four wickets in pursuit of 401 as bad light brought an early halt to play on day four of the second and final Test.
Brendan Taylor carved his way to a career best score as Zimbabwe posted 389 in their first innings on day two of the first Test against Bangladesh at the Harare Sports Club on Thursday.
The second One-Day International between Sri Lanka and Bangladesh was abandoned as a no-result after rain allowed only five overs to be bowled on Monday. Sri Lanka, leading 1-0 in the three-match series, were 33 for no wicket off five overs when play was called off.
Former Pakistan spinner Saqlain Mushtaq is helping Bangladesh's batsmen prepare for their Twenty20 World Cup encounter with the Pakistan spinners in their final Group D match on Tuesday.
Two wickets in two balls by left-arm spinner Rangana Herath in the last half hour of play on the third day tilted the balance of the second Test towards Sri Lanka on Monday.
Mohammad Ashraful made the highest score by a Bangladesh batsman in Test cricket when he scored a magnificent unbeaten 189 on the third day of the first Test against Sri Lanka on Sunday.
Bangladesh mounted a spirited chase in pursuit of a 382-run victory target but finished on 333-8 to succumb to their third defeat in six matches.
Opener Nazimuddin and paceman Shahadat Hossain were dropped from the Bangladesh squad for the first two One-Day Internationals against West Indies, the country's cricket board (BCB) said on Friday.
Even though West Indies stars such as Chris Gayle and Andre Russell were not part of that series, Jason Holder's team still must be smarting from those three consecutive losses last month.
Umesh Yadav struck three times as India took less than an hour on day three to complete formalities and bulldoze Bangladesh by an innings and 46 runs in the second and final Test for a 2-0 series sweep.
The India captain is the World's No.1 batsman in both Test and ODI formats and is just 81 runs short of becoming the fastest to reach 10,000 runs in the 50-overs format.
Bangladesh kept calm under pressure to clinch their One-Day International series against Twenty20 world champions West Indies 3-2 on Saturday.
The much talked about young duo of Ishan Kishan and Rishabh Pant will also be seen in action for India 'A' during the two-day warm-up match against Bangladesh, starting in Hyderabad, on Sunday.
As well as hefty pay increases, players in the cricket-mad Asian country demanded a return to a franchise-based model in the Bangladesh Premier League (BPL) and the resignation of the present committee of the country's Cricketers Welfare Association.
Fast bowler Lasith Malinga said goodbye to one-day cricket in style as his devastating opening spell helped Sri Lanka beat Bangladesh by 91 runs on Friday.
Bangladesh captain Mashrafe Mortaza, on Friday, hinted that he may end his international career after the 2016 season with the ICC World T20 in all likelihood his last global event.
Mushfiqur Rahim has been named Bangladesh's new captain for the upcoming home series against the West Indies and Pakistan, an official said Tuesday.
Left-arm spinner Abdur Rehman took three wickets early on Monday to help push Pakistan to an innings and 184-run win over Bangladesh in the first Test in Chittagong.
Master batsman Sachin Tendulkar got the hundred that eluded him for a year in the fourth match of the Asia Cup against Bangladesh in Mirpur on Friday.
Taijul Islam excelled with bat and ball as Bangladesh scored a tense three-wicket victory over Zimbabwe in the first Test in Dhaka on Monday.
Bangladesh's Tamim Iqbal and Mahmudullah scored half-centuries to give their team hope of taking a first-innings lead over South Africa on the second day of their opening Test at Chittagong on Wednesday.
Colin Munro and Anton Devcich hit half-centuries, and Tim Southee grabbed three wickets, as New Zealand ended their Bangladesh tour with a 15-run victory in the Twenty20 match in Dhaka on Wednesday.
The current Bangladesh team have no pink ball experience even at the domestic level and they only had four sessions, including two in Indore, before their first ever D/N Test.