Jasprit Bumrah was the fastest Indian to take 100 overseas Test wickets.
The first Test is in South Africa.
India 327 (Rahul 132) and 174 (Rabada 4-42 and Jansen 4-55).
South Africa had a total of 199 (Bavuma 52; Shami 4-54) and 191 (Elgar 77; Bumrah 3-50).
India ran up a lot of runs.
The scorecard is a summary of what happened.
The first Test between India and South Africa was over after lunch on the fifth day.
South Africa were all out for 191, with the final three of the team falling in 12 balls after the interval at SuperSport Park.
The hosts were 182-7 at lunch with Dean Elgar making 77.
He was trapped by Jasprit Bumrah, who took 3-50.
Bumrah broke South Africa's open when he removed Rassie van der Dussen and nightwatchman Keshav Maharaj late in the day.
In the first half of the game, Mohammed Shami took 3-63 and off-spinner Ravichandran Ashwin dismissed Kagiso Rabada and Lungi Ngidi.
After the first day, South Africa had conceded a 130-run deficit and were bowled out for 199 in reply to India's 327.
The whole of day two was washed out, and the hosts fought back with the ball on day three and four to bowl India out for 174, but Elgar said "the batting let us down in this Test".
It was India's first victory in South Africa and their fourth in 21 Tests. The hosts have lost at the venue in 27 Tests.
The second Test is in South Africa.