Dale Steyn became the second South African bowler to join the 400 club as his team took five wickets in the final session to reduce Bangladesh to 246 for eight on the first day of the second Test in Mirpur on Thursday.
The world's top-ranked Test bowler claimed three for 30 and part-time spinner JP Duminy picked up three for 27 to peg back Bangladesh after they appeared to be cruising at 180 for three with skipper Mushfiqur Rahim (65) leading from the front.
Nasir Hossain was 13 not out when stumps were drawn immediately after Steyn had bowled Mohammad Shahid.
Steyn reached his personal milestone in the fifth over of the day when opener Tamim Iqbal (6) edged him to Hashim Amla at first slip after the hosts opted to bat first at the Shere Bangla National Stadium.
The paceman, winning his 80th cap, joined compatriot Shaun Pollock (421) in the 400-wicket club.
On a high after winning the ODI series against South Africa and holding them to a rain-affected draw in the first match of the two-Test series, Bangladesh fought back well from the early loss of Iqbal.
Imrul Kayes (30) and Mominul Haque (40) put on 69 for the second wicket and looked largely unperturbed by the firepower of the world's top-ranked Test team.
Hit on the helmet by a Morne Morkel delivery, Haque shrugged off the blow to hit six boundaries in a fluent knock before Duminy struck twice.
The off-spinner induced an edge from Haque in his second over and Dane Vilas, making his debut as a replacement for Quinton de Kock behind the stumps, took the catch.
Duminy then trapped Kayes leg before in his next over as Bangladesh slid to 86 for three.
Mushfiqur and Mahmudullah (35) added 94 for the fourth wicket to consolidate Bangladesh's position on a slow, dry track.
However, once Mushfiqur fell to Dean Elgar after bringing up his 15th test fifty, the home side collapsed by losing four wickets for 31 runs.
Scorecard
Bangladesh (1st innings):
T. Iqbal c Amla b Steyn 6
I. Kayes lbw b Duminy 30
M. Haque c Vilas b Duminy 40
Mahmudullah c Bavuma b Steyn 35
M. Rahim c Vilas b Elgar 65
S. Al Hasan c Elgar b M. Morkel 35
L. Das c Elgar b Duminy 3
Nas. Hossain not out 13
M. Shahid b Steyn 1
Extras: (b-5 lb-11 nb-2) 18
Total: (for 8 wickets, 88.1 overs) 246
Fall of wickets: 1-12, 2-81, 3-86, 4-180, 5-215, 6-220, 7-245, 8-246.
To bat: M. Rahman, J. Hossain
Bowling: D. Steyn 16.1-4-30-3, V. Philander 11-2-25-0(nb-2), M. Morkel 14-2-45-1, S. Harmer 23-3-76-0, S. van Zyl 2-1-5-0, D. Elgar 7-0-22-1, J. Duminy 15-4-27-3.