Indian cricket captain Virat Kohli, second left, congratulates teammates after they won the third cricket test match against England by 203 runs at Trent Bridge in Nottingham, England, Wednesday, Aug. 22, 2018. Image Credit: AP

Trent Bridge, Nottingham: India beat England by 203 runs in the third Test at Trent Bridge on Wednesday to cut the home side's lead in the five-match series to 2-1.

England, set a mammoth 521 to win, were bowled out for 317.

The fourth Test starts at Southampton on August 30.

Play on Wednesday lasted just 17 balls after England resumed the fifth day on 311 for nine, the match ending when Ravichandran Ashwin had England No 11 James Anderson caught by Ajinkya Rahane at slip - the first wicket for an India spinner in this fixture.

The match was a personal triumph for India captain Virat Kohli who made 103 in his side's second innings 352 for seven declared following his first-innings 97.

England, whose captain Joe Root won the toss and fielded, slumped to 161 all out in their Hardik Pandya's five for 28 the medium-pacer's maiden five-wicket haul in Test cricket.

They suffered another top-order slump in a second innings where they had to make cricket history to pull off an improbable win - no side have made more in the fourth innings to win a Test than the West Indies' 418 for seven against Australia at St John's, Antigua in 2003.

England were in dire trouble at 62 for four before a stand of 169 between Jos Buttler, whose 106 was his maiden Test century, and Ben Stokes (62) kept India at bay.

But the recalled India fast bowler Jasprit Bumrah then took three wickets for eight runs in five balls on his way to innings figures of five for 85 in 29 overs to leave England on the brink of defeat.

Scoreboard 

India 1st innings

Shikhar Dhawan c Jos Buttler b Chris Woakes 35
Lokesh Rahul lbw Chris Woakes  23
Cheteshwar Pujara c Adil Rashid b Chris Woakes 14
Virat Kohli c Ben Stokes b Adil Rashid 97
Ajinkya Rahane c Alastair Cook b Stuart Broad 81
Hardik Pandya c Jos Buttler b James Anderson 18
Rishabh Pant b Stuart Broad  24
Ravichandran Ashwin b Stuart Broad  14
Ishant Sharma Not Out  1
Mohammed Shami c Stuart Broad b James Anderson 3
Jasprit Bumrah b James Anderson  0
Extras 12b 6lb 0nb 0pen 1w  19
Total (94.5 overs)  329 all out 

Fall of Wickets: 1-60 Dhawan, 2-65 Rahul, 3-82 Pujara, 4-241 Rahane, 5-279 Kohli, 6-307 Pandya, 7-323 Pant, 8-326 Ashwin, 9-329 Shami, 10-329 Bumrah

Bowling Ov Md Rn Wk Econ Ex
James Anderson 25.5 8 64 3 2.48
Stuart Broad 25 8 72 3 2.88
Ben Stokes 15 1 54 0 3.60 1w
Chris Woakes 20 2 75 3 3.75
Adil Rashid 9 0 46 1 5.11

England 1st innings

Alastair Cook c Rishabh Pant b Ishant Sharma 29
Keaton Jennings c Rishabh Pant b Jasprit Bumrah 20
Joe Root c Lokesh Rahul b Hardik Pandya 16
Ollie Pope c Rishabh Pant b Ishant Sharma 10
Jonny Bairstow c Lokesh Rahul b Hardik Pandya 15
Ben Stokes c Lokesh Rahul b Mohammed Shami 10
Jos Buttler c (Sub) b Jasprit Bumrah 39
Chris Woakes c Rishabh Pant b Hardik Pandya 8
Adil Rashid c Rishabh Pant b Hardik Pandya 5
Stuart Broad lbw Hardik Pandya  0
James Anderson Not Out  1
Extras 4b 1lb 2nb 0pen 1w  8
Total (38.2 overs)  161 all out 

Fall of Wickets: 1-54 Cook, 2-54 Jennings, 3-75 Pope, 4-86 Root, 5-108 Stokes, 6-110 Bairstow, 7-118 Woakes, 8-128 Rashid, 9-128 Broad, 10-161 Buttler

Bowling Ov Md Rn Wk Econ Ex
Mohammed Shami 10 2 56 1 5.60
Jasprit Bumrah 12.2 2 37 2 3.00 2nb
Ravichandran Ashwin 1 0 3 0 3.00
Ishant Sharma 9 2 32 2 3.56
Hardik Pandya 6 1 28 5 4.67 1w

India 2nd innings

Shikhar Dhawan st Jonny Bairstow b Adil Rashid 44
Lokesh Rahul b Ben Stokes  36
Cheteshwar Pujara c Alastair Cook b Ben Stokes 72
Virat Kohli lbw Chris Woakes  103
Ajinkya Rahane b Adil Rashid  29
Rishabh Pant c Alastair Cook b James Anderson 1
Hardik Pandya Not Out  52
Mohammed Shami c Alastair Cook b Adil Rashid 3
Ravichandran Ashwin Not Out  1
Extras 1b 9lb 0nb 0pen 1w  11
Total (110.0 overs)  352 decl 

Fall of Wickets: 1-60 Rahul, 2-111 Dhawan, 3-224 Pujara, 4-281 Kohli, 5-282 Pant, 6-329 Rahane, 7-349 Shami Did Not Bat : Sharma, Bumrah

Bowling Ov Md Rn Wk Econ Ex
James Anderson 22 7 55 1 2.50
Stuart Broad 16 3 60 0 3.75
Chris Woakes 22 4 49 1 2.23
Ben Stokes 20 3 68 2 3.40 1w
Adil Rashid 27 2 101 3 3.74
Joe Root 3 0 9 0 3.00

England 2nd innings

Alastair Cook c Lokesh Rahul b Ishant Sharma 17
Keaton Jennings c Rishabh Pant b Ishant Sharma 13
Joe Root c Lokesh Rahul b Jasprit Bumrah 13
Ollie Pope c Virat Kohli b Mohammed Shami 16
Ben Stokes c Lokesh Rahul b Hardik Pandya 62
Jos Buttler lbw Jasprit Bumrah  106
Jonny Bairstow b Jasprit Bumrah  0
Chris Woakes c Rishabh Pant b Jasprit Bumrah 4
Adil Rashid Not Out   33
Stuart Broad c Lokesh Rahul b Jasprit Bumrah 20
James Anderson c Ajinkya Rahane b Ravichandran Ashwin 11
Extras 2b 16lb 4nb 0pen 0w  22
Total (104.5 overs)  317 all out 

Fall of Wickets: 1-27 Jennings, 2-32 Cook, 3-62 Root, 4-62 Pope, 5-231 Buttler, 6-231 Bairstow, 7-241 Woakes, 8-241 Stokes, 9-291 Broad, 10-317 Anderson

Bowling Ov Md Rn Wk Econ Ex
Jasprit Bumrah 29 8 85 5 2.93 2nb
Ishant Sharma 20 4 70 2 3.50 1nb
Ravichandran Ashwin 22.5 8 44 1 1.93
Mohammed Shami 19 3 78 1 4.11
Hardik Pandya 14 5 22 1 1.57 1nb

Player of the match: Virat Kohli

Umpire: Marais Erasmus and Christopher Gaffaney
Video: Aleem Dar
Match Referee: Jeffrey Crowe