Graeme Swann grabbed five wickets to bowl England into a commanding position in the opening Test against Bangladesh on Sunday.
The off-spinner finished with 5-90 in his fifth five-wicket haul as the hosts were bowled out for 296 in their first innings in reply to the tourists' mammoth 599-6 declared.
England, who did not enforce the follow-on, were 131-5 in their second innings at stumps on the third day for an overall lead of 434.
The tourists lost skipper Alastair Cook (39), debutant Michael Carberry (34), Kevin Pietersen (32), Jonathan Trott (14) and Paul Collingwood (three).
The 25-year-old Cook became the second-youngest batsman after India's Sachin Tendulkar to complete 4,000 Test runs during his 55-ball knock.
Mushfiqur Rahim (79) and Naeem Islam (38) earlier put on a record 113 for the eighth wicket before England ended Bangladesh's late fightback with three wickets off four balls.
Wicket-keeper Rahim and Naeem frustrated England with their defiant knocks but the tourists managed to break the stand, thanks to brilliant fielding by Carberry.
His accurate throw from the deep to wicket-keeper Matt Prior found Naeem short of the crease as the batsman attempted a second run. Swann then ended the innings when he took the last two wickets off three deliveries.
Rahim fell to a superb one-handed catch by substitute James Tredwell at short mid-wicket after cracking 15 fours, while last-man Rubel Hossain was bowled for no score.
Bangladesh's previous best for the eighth wicket in Tests was 87 between Mohammad Ashraful and Mohammad Rafique against the West Indies at Gros Islet in 2004.
England had chances to break the Rahim-Naeem partnership in the afternoon session, but failed to capitalise on them.
Naeem was on 13 when Swann failed to hold on to a return catch and Rahim on 61 when Paul Collingwood dropped a catch at second slip off paceman Stuart Broad.
Bangladesh lost two wickets in the opening hour after resuming at 154-5, but Rahim and Naeem kept the England attack at bay with their determined knocks.
Paceman Tim Bresnan bowled Tamim (86), who managed to add just five runs to his overnight score. The Bangladeshi opener hit one six and 14 fours in his 124-ball knock.
Debutant paceman Steven Finn bagged his maiden Test wicket when he had nightwatchman Shahadat Hossain (14) caught by Collingwood at second slip.